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.
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.
- relates to
-
JDK-8289747 [lworld] Remove injected interfaces from CDS tests
- Resolved