-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
1.2.0
-
sparc
-
solaris_2.6
allan.jacobs@Eng 1998-03-24
Thread unsafe code is present in at least three classes in the
RMI classes.
Only the static variables that are set and used in thread-unsafe
methods are listed. Only methods that are thread-unsafe are listed.
Not all of the thread unsafe methods detected in this survey
should be changed. The non-private methods that are unsafe should be
documented as thread-unsafe. Those non-private methods that can
eventually cause a private, thread-unsafe method to be called in an
unsynchronized manner need to be documented, too.
/**********************************************************************/
java/rmi/activation
Variable: theAuthenticator
Methods: setDefault(Authenticator),
requestPasswordAuthentication(InetAddress,int,String,String,String)
/**********************************************************************/
java/rmi/server/ObjID.java
Unnecessary synchronization?
Methods: ObjID()
/**********************************************************************/
java/rmi/server/RemoteServer.java
Variable: log
Methods: setLog(OutputStream),getLog()