-
Sub-task
-
Resolution: Duplicate
-
P4
-
repo-valhalla
-
None
These two tests fail because the lookupModes() API returns 95 instead of the expected 31.
api/java_lang/invoke/MethodHandles/Lookup/MethodsTests.html
api/java_lang/invoke/MethodHandles/Lookup/ModuleTests.html
Sample failure:
Testcase "inTest(0)" failed with arguments [javasoft.sqe.tests.api.java.lang.invoke.MethodHandles.Lookup.utils.exportedofa.PublicClassInExportedPkgOfA, class javasoft.sqe.tests.api.java.lang.invoke.MethodHandles.Lookup.utils.exportedofa.PublicClassInExportedPkgOfA, 31]
inTest: Failed. test cases: 16; passed: 15; failed: 1
inTestPublicLookup: Passed. test cases: 6; all passed
Testcase "lookupClassModes(0)" failed with message: Expected equal to : "31", was given: "95"
at com.sun.tck.lib.Assert.assertEquals(Assert.java:648)
at javasoft.sqe.tests.api.java.lang.invoke.MethodHandles.Lookup.ModuleTests.lookupClassModes(ModuleTests.java:170)
api/java_lang/invoke/MethodHandles/Lookup/MethodsTests.html
api/java_lang/invoke/MethodHandles/Lookup/ModuleTests.html
Sample failure:
Testcase "inTest(0)" failed with arguments [javasoft.sqe.tests.api.java.lang.invoke.MethodHandles.Lookup.utils.exportedofa.PublicClassInExportedPkgOfA, class javasoft.sqe.tests.api.java.lang.invoke.MethodHandles.Lookup.utils.exportedofa.PublicClassInExportedPkgOfA, 31]
inTest: Failed. test cases: 16; passed: 15; failed: 1
inTestPublicLookup: Passed. test cases: 6; all passed
Testcase "lookupClassModes(0)" failed with message: Expected equal to : "31", was given: "95"
at com.sun.tck.lib.Assert.assertEquals(Assert.java:648)
at javasoft.sqe.tests.api.java.lang.invoke.MethodHandles.Lookup.ModuleTests.lookupClassModes(ModuleTests.java:170)
- relates to
-
JDK-8230501 Class data support for hidden classes
- Resolved