Name: rmT116609 Date: 09/23/2002
FULL PRODUCT VERSION :
java version "1.4.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-b21)
Java HotSpot(TM) Client VM (build 1.4.1-b21, mixed mode)
FULL OPERATING SYSTEM VERSION :
glibc-2.2.4-29
Linux 2.4.7-10smp #1 SMP Thu Sep 6 17:09:31 EDT 2001 i686
redhat-release
A DESCRIPTION OF THE PROBLEM :
Running the code on Linux produces the following warning
message: WARNING: Prefs file removed in background
/etc/.java/.systemPrefs/prefs.xml
Running on Windows correctly doesn't write any message.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Run Code
EXPECTED VERSUS ACTUAL BEHAVIOR :
Expected) No Warning Message
Actual) Warning Message
ERROR MESSAGES/STACK TRACES THAT OCCUR :
WARNING: Prefs file removed in background /etc/.java/.systemPrefs/prefs.xml
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
package test;
import java.util.prefs.*;
public class PreferencesTest {
public static void main(String[] args) {
try {
Preferences.systemRoot().keys();
}
catch (Exception ex) {
System.out.println(ex);
}
}
}
---------- END SOURCE ----------
(Review ID: 164832)
======================================================================
###@###.### 11/3/04 20:36 GMT
FULL PRODUCT VERSION :
java version "1.4.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-b21)
Java HotSpot(TM) Client VM (build 1.4.1-b21, mixed mode)
FULL OPERATING SYSTEM VERSION :
glibc-2.2.4-29
Linux 2.4.7-10smp #1 SMP Thu Sep 6 17:09:31 EDT 2001 i686
redhat-release
A DESCRIPTION OF THE PROBLEM :
Running the code on Linux produces the following warning
message: WARNING: Prefs file removed in background
/etc/.java/.systemPrefs/prefs.xml
Running on Windows correctly doesn't write any message.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Run Code
EXPECTED VERSUS ACTUAL BEHAVIOR :
Expected) No Warning Message
Actual) Warning Message
ERROR MESSAGES/STACK TRACES THAT OCCUR :
WARNING: Prefs file removed in background /etc/.java/.systemPrefs/prefs.xml
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
package test;
import java.util.prefs.*;
public class PreferencesTest {
public static void main(String[] args) {
try {
Preferences.systemRoot().keys();
}
catch (Exception ex) {
System.out.println(ex);
}
}
}
---------- END SOURCE ----------
(Review ID: 164832)
======================================================================
###@###.### 11/3/04 20:36 GMT