Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JDK18] AssertionError in MemberName.vminfoIsConsistent #13995

Closed
babsingh opened this issue Nov 24, 2021 · 0 comments · Fixed by #14044
Closed

[JDK18] AssertionError in MemberName.vminfoIsConsistent #13995

babsingh opened this issue Nov 24, 2021 · 0 comments · Fixed by #14044
Labels
comp:vm jdk18 project:MH Used to track Method Handles related work

Comments

@babsingh
Copy link
Contributor

babsingh commented Nov 24, 2021

OpenJDK Tests

TEST: java/lang/reflect/Proxy/nonPublicProxy/DefaultMethodProxy.java
TEST: java/lang/reflect/Proxy/ProxyTest.java
TEST: java/lang/reflect/Proxy/DefaultMethods.java
TEST: java/lang/invoke/lookup/SpecialStatic.java
TEST: java/lang/invoke/lambda/invokeSpecial/InvokeSpecialMethodTest.java
TEST: java/lang/invoke/MethodHandlesProxiesTest.java
TEST: java/lang/invoke/JavaDocExamplesTest.java
TEST: java/lang/invoke/InvokeDynamicPrintArgs.java
TEST: java/lang/invoke/8177146/TestMethodHandleBind.java
TEST: java/lang/constant/MethodHandleDescTest.java
TEST: java/lang/invoke/7087570/Test7087570.java
TEST: java/lang/invoke/7196190/GetUnsafeTest.java
TEST: java/lang/invoke/lambda/MetafactoryArgValidationTest.java
TEST: java/foreign/TestIntrinsics.java
TEST: java/foreign/StdLibTest.java
TEST: java/foreign/SafeFunctionAccessTest.java
TEST: java/foreign/TestDowncall.java
TEST: java/foreign/TestIntrinsics.java
TEST: java/foreign/TestNULLAddress.java
TEST: java/foreign/TestNative.java

Error

A negative vmindex value is expected but different positive vmindex values are seen at MemberName.vminfoIsConsistent(MemberName.java:352):

[2021-11-17T18:25:18.995Z] java.lang.AssertionError: 440
[2021-11-17T18:25:18.998Z] java.lang.AssertionError: 424
[2021-11-17T18:25:19.004Z] java.lang.AssertionError: 1008
[2021-11-17T18:31:16.793Z] java.lang.AssertionError: 512
[2021-11-17T18:31:16.797Z] java.lang.AssertionError: 432
[2021-11-17T18:31:17.879Z] java.lang.AssertionError: 0
[2021-11-17T18:31:17.880Z] java.lang.AssertionError: 1

[2021-11-17T18:25:18.995Z]      at java.base/java.lang.invoke.MemberName.vminfoIsConsistent(MemberName.java:352)
[2021-11-17T18:25:18.995Z]      at java.base/java.lang.invoke.MemberName$Factory.resolve(MemberName.java:1099)
[2021-11-17T18:25:18.995Z]      at java.base/java.lang.invoke.MemberName$Factory.resolveOrFail(MemberName.java:1114)
[2021-11-17T18:25:18.995Z]      at java.base/java.lang.invoke.MethodHandles$Lookup.resolveOrFail(MethodHandles.java:3653)
[2021-11-17T18:25:18.995Z]      at java.base/java.lang.invoke.MethodHandles$Lookup.findSpecial(MethodHandles.java:3000)
[2021-11-17T18:25:18.995Z]      at java.base/java.lang.constant.DirectMethodHandleDescImpl.resolveConstantDesc(DirectMethodHandleDescImpl.java:163)
[2021-11-17T18:25:18.995Z]      at java.base/java.lang.constant.DirectMethodHandleDescImpl.resolveConstantDesc(DirectMethodHandleDescImpl.java:43)

Related: #13946

@babsingh babsingh added comp:vm jdk18 project:MH Used to track Method Handles related work labels Nov 24, 2021
@babsingh babsingh added this to the Release 0.31 (Java 18) milestone Nov 24, 2021
babsingh added a commit to babsingh/aqa-tests that referenced this issue Nov 30, 2021
Tests failures documented in the below issues have been excluded:
1) eclipse-openj9/openj9#13995
2) eclipse-openj9/openj9#13996
3) eclipse-openj9/openj9#13997
4) eclipse-openj9/openj9#13998

Parent issue: eclipse-openj9/openj9#13946

The tests will be re-enabled once they are fixed.

Signed-off-by: Babneet Singh <[email protected]>
llxia pushed a commit to adoptium/aqa-tests that referenced this issue Dec 1, 2021
Tests failures documented in the below issues have been excluded:
1) eclipse-openj9/openj9#13995
2) eclipse-openj9/openj9#13996
3) eclipse-openj9/openj9#13997
4) eclipse-openj9/openj9#13998

Parent issue: eclipse-openj9/openj9#13946

The tests will be re-enabled once they are fixed.

Signed-off-by: Babneet Singh <[email protected]>
babsingh added a commit to babsingh/aqa-tests that referenced this issue Dec 6, 2021
babsingh added a commit to babsingh/aqa-tests that referenced this issue Dec 6, 2021
llxia pushed a commit to adoptium/aqa-tests that referenced this issue Dec 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:vm jdk18 project:MH Used to track Method Handles related work
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants