String s = System.getProperty("user.dir");
File dir = new File(System.getProperty("user.dir"));
should be changed to
String s = CDSTestUtils.getOutputDir();
File dir = CDSTestUtils.getOutputDirAsFile();
- relates to
-
JDK-8251213 [TESTBUG] CDS tests shouldn't write output files into test.classes directory
- Resolved