This is the mail archive of the java-patches@sources.redhat.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PATCH: System properties and init_properties


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]