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

aph at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue May 2 10:08:00 GMT 2006



------- 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



More information about the Gcc-bugs mailing list