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

JTReg Test Failure: java/util/logging/TestLoggerWeakRefLeak.java #1352

Closed
adam-thorpe opened this issue Sep 18, 2019 · 2 comments
Closed

JTReg Test Failure: java/util/logging/TestLoggerWeakRefLeak.java #1352

adam-thorpe opened this issue Sep 18, 2019 · 2 comments
Labels
Milestone

Comments

@adam-thorpe
Copy link
Contributor

adam-thorpe commented Sep 18, 2019

https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder_Advanced/514/
Platform: all
Version: 8, 11, 13

Test should be permanently excluded on openj9 since it uses hotspot specific methods.
Fails this line:

HotSpotVirtualMachine vm = (HotSpotVirtualMachine) VirtualMachine
                .attach(Long.toString(ProcessTools.getProcessId()));
11:10:38  java.lang.ClassCastException: com.ibm.tools.attach.attacher.OpenJ9VirtualMachine incompatible with sun.tools.attach.HotSpotVirtualMachine
11:10:38  	at java.base/java.lang.ClassCastException.<init>(ClassCastException.java:71)
11:10:38  	at TestLoggerWeakRefLeak.getInstanceCountFromHeapHisto(TestLoggerWeakRefLeak.java:132)
11:10:38  	at TestLoggerWeakRefLeak.testIfLeaking(TestLoggerWeakRefLeak.java:82)
11:10:38  	at TestLoggerWeakRefLeak.main(TestLoggerWeakRefLeak.java:59)
11:10:38  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
11:10:38  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
11:10:38  	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
11:10:38  	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
11:10:38  	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
11:10:38  	at java.base/java.lang.Thread.run(Thread.java:831)
@karianna karianna added the bug label Sep 18, 2019
@smlambert
Copy link
Contributor

If this is not applicable test, it should be added to list in #1297 and this issue closed.

@adam-thorpe
Copy link
Contributor Author

Done

@karianna karianna added this to the February 2020 milestone Mar 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants