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

[lworld] CDS LoaderConstraintsTest fails after injection of IdentityObject

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: repo-valhalla
    • Fix Version/s: None
    • Component/s: hotspot
    • Labels:

      Description

      Test runtime/cds/appcds/loaderConstraints/LoaderConstraintsTest.java#custom-cl fails with this error message:

      Currently specified interfaces[0] = {
      }
      Actual interfaces[1] = {
        java.lang.IdentityObject
      }
      An error has occurred while processing class list file /System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S110633/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/7e138596-b53d-4d62-826f-2fde7549e059/runs/bbcf3d23-6078-46f9-94d9-01f7e4f243c7/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_tier2_runtime/scratch/4/runtime.cds.appcds.loaderConstraints.LoaderConstraintsTest.java#custom-cl-test.classlist 3:45.
      The number of interfaces (0) specified in class list does not match the class file (1):
      LoaderConstraintsApp id: 2 super: 1 source: /System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S110633/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/7e138596-b53d-4d62-826f-2fde7549e059/runs/bbcf3d23-6078-46f9-94d9-01f7e4f243c7/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_tier2_runtime/scratch/4/loader_constraints.jar
                                                  ^
      The expected number of interfaces is incorrect because of the injection of the IdentityObject interface.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              fparain Frederic Parain
              Reporter:
              fparain Frederic Parain
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: