gcc/libjava/java
Andrew Haley 019dac3214 Subject.java (doAsPrivileged): If acc is null, create a new AccessControlContext.
2005-02-08  Andrew Haley  <aph@redhat.com>

        * javax/security/auth/Subject.java (doAsPrivileged): If acc is
        null, create a new AccessControlContext.
        * java/security/SecureClassLoader.java (protectionDomainCache):
        new field.
        (defineClass): Create a new protection domain and add it to our
        cache.

        * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
        addStub() to keep track of the stub we've exported.
        (unexportObject): Call deleteStub().
        * java/rmi/server/RemoteObject.java (stubs): New field.
        (addStub): New method.
        (deleteStub): New method.
        (toStub): Rewrite.

        * java/lang/VMCompiler.java (loadSharedLibrary): Pass
        true to findHelper (tryParents).
        * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
        Likewise.
        * java/net/URLClassLoader.java (SoURLLoader): Likewise.
        * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
        ProtectionDomain.
        If tryParents is false, don't scan parent class loaders.

        * java/security/Permissions.java (PermissionsHash.implies):
        Iterate over the collection and invoke implies() on each
        element.

From-SVN: r95111
2005-02-16 18:51:25 +00:00
..
applet revert: [multiple changes] 2004-11-30 23:59:12 +00:00
awt revert: [multiple changes] 2004-11-30 23:59:12 +00:00
beans 2004-11-21 Michael Koch <konqueror@gmx.de> 2004-11-21 19:05:16 +00:00
io File.java (toURI): Generate a URI which we understand. 2005-01-14 21:12:46 +00:00
lang Subject.java (doAsPrivileged): If acc is null, create a new AccessControlContext. 2005-02-16 18:51:25 +00:00
math BigDecimal.java, [...]: Reorganized import statements, removed redundant and reorganized modifiers. 2004-10-16 17:51:45 +00:00
net Subject.java (doAsPrivileged): If acc is null, create a new AccessControlContext. 2005-02-16 18:51:25 +00:00
nio re PR libgcj/18115 (JNI nio buffer functions only work with byte buffers) 2005-01-07 11:32:07 +00:00
rmi Subject.java (doAsPrivileged): If acc is null, create a new AccessControlContext. 2005-02-16 18:51:25 +00:00
security Subject.java (doAsPrivileged): If acc is null, create a new AccessControlContext. 2005-02-16 18:51:25 +00:00
sql Timestamp.java, [...]: Reorganized imports and fixed copyright headers. 2004-10-20 08:09:27 +00:00
text MessageFormat.java (scanString): Changed how quoting is handled. 2005-01-18 00:56:25 +00:00
util [multiple changes] 2005-02-15 22:38:59 +00:00