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

jdk20 OpenJDK java/lang/Class/getEnumConstants/BadEnumTest testBadEnum2 ClassCastException #16655

Closed
pshipton opened this issue Feb 2, 2023 · 0 comments · Fixed by #16676
Closed

Comments

@pshipton
Copy link
Member

pshipton commented Feb 2, 2023

https://openj9-jenkins.osuosl.org/job/Test_openjdk20_j9_sanity.openjdk_aarch64_linux_OpenJDK20/1/
All platforms, not platform specific
jdk_lang
java/lang/Class/getEnumConstants/BadEnumTest.java

10:23:07  STARTED    BadEnumTest::testBadEnum2 'testBadEnum2()'
10:23:07  java.lang.ClassCastException: java.lang.Object incompatible with [Ljava.lang.Object;
10:23:07  	at java.base/java.lang.Class.getEnumConstantsShared(Class.java:3410)
10:23:07  	at java.base/java.lang.Class.getEnumConstants(Class.java:3442)
10:23:07  	at BadEnumTest.testBadEnum2(BadEnumTest.java:45)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant