The following test fails to compile in the JDK20 CI:
runtime/cds/appcds/dynamicArchive/CDSStreamTestDriver.java
----------direct:(8/616)----------
/opt/mach5/mesos/work_dir/jib-master/install/jdk-20+12-671/src.full/open/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/CDSStreamTestDriver.java:59: error: cannot find symbol
String testngJar = Path.of(Test.class.getProtectionDomain().getCodeSource().getLocation().toURI()).toString();
^
symbol: variable Path
location: class CDSStreamTestDriver
Note: /opt/mach5/mesos/work_dir/jib-master/install/jdk-20+12-671/src.full/open/test/lib/jdk/test/lib/process/ProcessTools.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
result: Failed. Compilation failed: Compilation failed
runtime/cds/appcds/dynamicArchive/CDSStreamTestDriver.java
----------direct:(8/616)----------
/opt/mach5/mesos/work_dir/jib-master/install/jdk-20+12-671/src.full/open/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/CDSStreamTestDriver.java:59: error: cannot find symbol
String testngJar = Path.of(Test.class.getProtectionDomain().getCodeSource().getLocation().toURI()).toString();
^
symbol: variable Path
location: class CDSStreamTestDriver
Note: /opt/mach5/mesos/work_dir/jib-master/install/jdk-20+12-671/src.full/open/test/lib/jdk/test/lib/process/ProcessTools.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
result: Failed. Compilation failed: Compilation failed
- relates to
-
JDK-8292315 Tests should not rely on specific JAR file names (hotspot)
- Resolved