-
Bug
-
Resolution: Fixed
-
P5
-
1.4.0
-
None
-
beta2
-
generic
-
generic
-
Verified
Several serialization regression tests attempt to write/create files in the
directory specified by the system property 'test.src'. When run under jtreg,
test.src evaluates to the directory containing the source code for the given
regression test. This can cause the test to fail in cases where the test
source directory is mounted in read-only mode. Even if the directory is not
read-only and the test succeeds, it may leave temporary files in a shared
workspace, which is undesirable.
Serialization tests which misuse test.src are:
test/java/io/Serializable/evolution/AddedExternField/ReadAddedField.java
test/java/io/Serializable/evolution/AddedExternField/WriteAddedField.java
test/java/io/Serializable/evolution/RenamePackage/test/SerialDriver.java
test/java/io/Serializable/evolution/RenamePackage/install/SerialDriver.java
test/java/io/Serializable/class/Test.java
These tests should be revised to write files in the current directory, which
jtreg automatically sets to be a scratch directory.
directory specified by the system property 'test.src'. When run under jtreg,
test.src evaluates to the directory containing the source code for the given
regression test. This can cause the test to fail in cases where the test
source directory is mounted in read-only mode. Even if the directory is not
read-only and the test succeeds, it may leave temporary files in a shared
workspace, which is undesirable.
Serialization tests which misuse test.src are:
test/java/io/Serializable/evolution/AddedExternField/ReadAddedField.java
test/java/io/Serializable/evolution/AddedExternField/WriteAddedField.java
test/java/io/Serializable/evolution/RenamePackage/test/SerialDriver.java
test/java/io/Serializable/evolution/RenamePackage/install/SerialDriver.java
test/java/io/Serializable/class/Test.java
These tests should be revised to write files in the current directory, which
jtreg automatically sets to be a scratch directory.