PATCH: System properties and init_properties

Bryce McKinlay bryce@albatross.co.nz
Sat Nov 25 17:44:00 GMT 2000


Tom Tromey wrote:

> 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.

ok, I think the semantics were correct, but I agree we don't need
prop_init, and I noticed that the existing code had thread safety issues.
Here's what I'm checking in.

regards

  [ bryce ]





More information about the Java-patches mailing list