PATCH: System properties and init_properties

Tom Tromey tromey@cygnus.com
Fri Nov 24 23:17:00 GMT 2000


Bryce> Could you be more specific? Looking at the online docs, it
Bryce> appears that (with the patch) we implement the 1.2 semantics
Bryce> correctly. Or have I missed something? I don't have my JCL book
Bryce> handy...

I looked here:

    http://java.sun.com/products/jdk/1.2/docs/api/java/lang/System.html

According to this, setProperties(null) should forget the current set
of system properties.  My reading is that the next getProperties()
should cause the system properties to be recomputed.

What do you think?

If my reading holds, then we should just get rid of prop_init and
always reinitialize the system properties when properties==null.

Tom


More information about the Java-patches mailing list