-
Bug
-
Resolution: Fixed
-
P3
-
None
-
b31
Test test/jdk/javax/imageio/stream/NullStreamCheckTest.java
writes to the directory given by the test.src system property, which is a big no-no.
Demo:
$ pwd; chmod -w . ; /home/martin/jtreg-binaries/current/bin/jtreg -noreport -verbose:nopass,fail,error -jdk:/home/martin/ws/up/build/linux-x86_64-normal-server-release/images/jdk -w:/tmp/JTwork NullStreamCheckTest.java; chmod +w .
/home/martin/ws/up/test/jdk/javax/imageio/stream
...
$ pwd; chmod -w . ; /home/martin/jtreg-binaries/current/bin/jtreg -noreport -verbose:nopass,fail,error -jdk:/home/martin/ws/up/build/linux-x86_64-normal-server-release/images/jdk -w:/tmp/JTwork NullStreamCheckTest.java; chmod +w .
/home/martin/ws/up/test/jdk/javax/imageio/stream
writes to the directory given by the test.src system property, which is a big no-no.
Demo:
$ pwd; chmod -w . ; /home/martin/jtreg-binaries/current/bin/jtreg -noreport -verbose:nopass,fail,error -jdk:/home/martin/ws/up/build/linux-x86_64-normal-server-release/images/jdk -w:/tmp/JTwork NullStreamCheckTest.java; chmod +w .
/home/martin/ws/up/test/jdk/javax/imageio/stream
...
$ pwd; chmod -w . ; /home/martin/jtreg-binaries/current/bin/jtreg -noreport -verbose:nopass,fail,error -jdk:/home/martin/ws/up/build/linux-x86_64-normal-server-release/images/jdk -w:/tmp/JTwork NullStreamCheckTest.java; chmod +w .
/home/martin/ws/up/test/jdk/javax/imageio/stream