natClass.cc (initializeClass): Re-throw SecurityExceptions.
commit6b05e79165f6d8c5660a874d77f87da41ca934c9
authorAndrew Haley <aph@gcc.gnu.org>
Mon, 29 Jan 2007 13:14:38 +0000 (29 13:14 +0000)
committerAndrew Haley <aph@gcc.gnu.org>
Mon, 29 Jan 2007 13:14:38 +0000 (29 13:14 +0000)
tree40df469186ef32efb4fe4cfc7ff23eb2b0c7e713
parent2631dfddd2d1492ded5836b7385d3754c9cca33f
natClass.cc (initializeClass): Re-throw SecurityExceptions.

2007-01-26  Andrew Haley  <aph@redhat.com>

        * java/lang/natClass.cc (initializeClass): Re-throw
        SecurityExceptions.
        * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess.
        * java/lang/ClassLoader.java: (loadClass): Likewise.

From-SVN: r121285
libjava/classpath/lib/java/lang/ClassLoader.class
libjava/java/lang/ClassLoader.java
libjava/java/lang/natClass.cc
libjava/java/lang/natVMClassLoader.cc