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

runtime/cds/appcds/SharedRegionAlignmentTest.java fails to compile after JDK-8263412

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 17
    • 17
    • hotspot
    • b14
    • generic
    • generic

      The following test fails to compile in the JDK17 CI:

      runtime/cds/appcds/SharedRegionAlignmentTest.java

      Here's a snippet from the log file:

      ----------direct:(8/612)----------
      /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+14-1040/src.full/open/test/hotspot/jtreg/runtime/cds/appcds/SharedRegionAlignmentTest.java:42: error: cannot find symbol
          static String appJar = ClassFileInstaller.getJarPath("hello.jar");
                                                   ^
        symbol: method getJarPath(String)
        location: class ClassFileInstaller
      Note: /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+14-1040/src.full/open/test/hotspot/jtreg/runtime/cds/appcds/SharedRegionAlignmentTest.java uses or overrides a deprecated API.
      Note: Recompile with -Xlint:deprecation for details.
      1 error
      result: Failed. Compilation failed: Compilation failed

            iignatyev Igor Ignatyev (Inactive)
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: