JDK-8130826 : test writes file in test source directory
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2015-07-09
  • Updated: 2015-09-10
  • Resolved: 2015-07-28
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b76Fixed
Related Reports
Duplicate :  
Relates :  
Description
The file langtools/test/tools/javac/platform/PlatformProviderTest.java writes a file into the test source directory. This is bad.

jjg@jjg-Precision-T7600:/w/jjg/work/dev$ hg status -R langtools
jjg@jjg-Precision-T7600:/w/jjg/work/dev$ /opt/jtreg/dev/bin/jtreg -jdk:build/linux-x86_64-normal-server-release/images/jdk -w build/jtreg/work/ -r build/jtreg/report/ -v1 -ignore:quiet langtools/test/tools/javac/platform/PlatformProviderTest.java 
Passed: tools/javac/platform/PlatformProviderTest.java
Test results: passed: 1
Report written to /w/jjg/work/dev/build/jtreg/report/html/report.html
Results written to /w/jjg/work/dev/build/jtreg/work
jjg@jjg-Precision-T7600:/w/jjg/work/dev$ hg status -R langtools
? test/tools/javac/platform/PlatformProviderTestSource.class