With the attached testcase, SecurityManager.checkPermission() is called three times when it should only be called once. In genral, we make far too many invocations of SecurityManager.checkPermission().
-- Summary: SecurityManager.checkPermission() called unnecessarily Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgcj AssignedTo: aph at gcc dot gnu dot org ReportedBy: aph at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27352