-
Bug
-
Resolution: Won't Fix
-
P4
-
None
-
1.3.0
-
sparc
-
solaris_2.5
Name: ksC84122 Date: 07/28/99
Requried System property "java.class.path" disappears after reinitialization
JavaDoc says :
"If there is no current set of system properties, a set of system properties is first created and
initialized.
This set of system properties always includes values for the following keys:
Key Description of Associated Value
...
java.class.path Java class path
..."
------------------------- Test.java
class Test {
public static void main(String [] args) throws Exception {
System.out.println(System.getProperty("java.vm.name"));
System.out.println(System.getProperty("java.class.path"));
System.setProperties(null);
System.out.println(System.getProperty("java.vm.name"));
System.out.println(System.getProperty("java.class.path"));
}
}
------------------------- Output jdk1.3 solaris
Classic VM
.
Classic VM
null
-------------------------
======================================================================