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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 17
    • Fix Version/s: 17
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b14
    • CPU:
      generic
    • OS:
      generic

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              iignatyev Igor Ignatyev
              Reporter:
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: