This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgcj/27352] SecurityManager.checkPermission() called unnecessarily



------- Comment #4 from aph at gcc dot gnu dot org  2006-05-02 10:08 -------
The real reason is that we want the actual caller of
SecurityManager.checkPermission(), but we're walking up the stack to the user
code that called Class.newInstance() Class.getMethod().  This problem is as far
as I'm aware unique to gcj, but it might be worth testing on other VMs.

I have a patch for this that I'm testing.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27352


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]