Search java/lang/SecurityManager.java for "XXX" and you will see that there are (minor) missing pieces. These are needed for the security model to work.
-- Summary: SecurityManager is incomplete Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: libgcj AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tromey at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu dot org OtherBugsDependingO 13603 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21890