gcc/libjava/java/rmi
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
..
activation MarshalledObject.java, [...]: Import cleanup. 2004-10-21 20:14:03 +00:00
dgc RMIMarshalledObjectOutputStream.java [...]: File headers and import statements cleaned up. 2004-10-16 18:27:51 +00:00
registry StackTraceElement.java: Made final. 2004-11-18 15:26:45 +00:00
server Subject.java (doAsPrivileged): If acc is null, create a new AccessControlContext. 2005-02-16 18:51:25 +00:00
AccessException.java AccessException.java: Remerge from Classpath. 2002-06-16 20:55:56 +00:00
AlreadyBoundException.java AccessException.java: Remerge from Classpath. 2002-06-16 20:55:56 +00:00
ConnectException.java AccessException.java: Remerge from Classpath. 2002-06-16 20:55:56 +00:00
ConnectIOException.java AccessException.java: Remerge from Classpath. 2002-06-16 20:55:56 +00:00
MarshalException.java AccessException.java: Remerge from Classpath. 2002-06-16 20:55:56 +00:00
MarshalledObject.java MarshalledObject.java, [...]: Import cleanup. 2004-10-21 20:14:03 +00:00
Naming.java StackTraceElement.java: Made final. 2004-11-18 15:26:45 +00:00
NoSuchObjectException.java AccessException.java: Remerge from Classpath. 2002-06-16 20:55:56 +00:00
NotBoundException.java AccessException.java: Remerge from Classpath. 2002-06-16 20:55:56 +00:00
Remote.java RMIMarshalledObjectOutputStream.java [...]: File headers and import statements cleaned up. 2004-10-16 18:27:51 +00:00
RemoteException.java MarshalledObject.java, [...]: Fixed javadoc, coding style and argument names all over. 2004-04-20 14:45:10 +00:00
RMISecurityException.java AccessException.java: Remerge from Classpath. 2002-06-16 20:55:56 +00:00
RMISecurityManager.java RMIMarshalledObjectOutputStream.java [...]: File headers and import statements cleaned up. 2004-10-16 18:27:51 +00:00
ServerError.java AccessException.java: Remerge from Classpath. 2002-06-16 20:55:56 +00:00
ServerException.java AccessException.java: Remerge from Classpath. 2002-06-16 20:55:56 +00:00
ServerRuntimeException.java AccessException.java: Remerge from Classpath. 2002-06-16 20:55:56 +00:00
StubNotFoundException.java AccessException.java: Remerge from Classpath. 2002-06-16 20:55:56 +00:00
UnexpectedException.java AccessException.java: Remerge from Classpath. 2002-06-16 20:55:56 +00:00
UnknownHostException.java AccessException.java: Remerge from Classpath. 2002-06-16 20:55:56 +00:00
UnmarshalException.java AccessException.java: Remerge from Classpath. 2002-06-16 20:55:56 +00:00