Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8292633

runtime/cds/appcds/dynamicArchive/CDSStreamTestDriver.java fails to compile

    XMLWordPrintable

Details

    • b12
    • generic
    • generic
    • Verified

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              cstein Christian Stein
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: