-
Notifications
You must be signed in to change notification settings - Fork 95
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
JavaLeakTests failing on Java 23 #1664
JavaLeakTests failing on Java 23 #1664
Comments
@noopur2507 You seem to be the one involved with this failing on Java 17 so would you please look into it? |
I am not sure if these were tests enabled based on the discussion in #23. |
Also, I don't see any test failures in the last Y-build on gtk3-java23. @MohananRahul @stephan-herrmann any idea what changed? |
Stacktrace for the record:
the field is rather old: The IllegalArgumentException hides a ClassCastException which would be nice to have:: looks like a error in JDK
the Y build instead uses |
I can locally reproduce on jdk-23+37. The original ClassCastException reads: And indeed the debugger shows Am I having a deja vu? See #2 (comment) :) |
do you agree its a JDK bug? Mind to file a error report to JDK how to reproduce? |
That's the feeling I already had in February ...
I don't think Oracle / openjdk wants to run JavaLeakTests, and atm I have no idea how to reduce this to a small reproducer. Reminds me, I still need to file the recent JIT bug - let's see how they'll react to that one. |
in #2 I mentioned that the bug occurs with JDK 18+. This isn't wrong, but interestingly, from those JDKs 18+ I have on disk, 20, 21 and 22 do not show the bug, but 23 does again. I should add, however, that I didn't repeat each of the test runs to check if the bug happens / does not happen reliably. I gave up partly because since today (?) equinox startup takes more than a minute on my machine with several cpu cores at 100%. Anybody else seeing this? |
created https://bugs.openjdk.org/browse/JDK-8341343 for |
cool, thanks. The good news, once we build on JDK 24 leak tests should be functional again. |
Asked to updated JDK: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/5179 |
These tests are now failing on win32-java17 also since I20241024-1800. https://download.eclipse.org/eclipse/downloads/drops4/I20241029-1800/testResults.php |
I believe this could be Windows specific UI issue, not Java bug like on Java 23 build |
the fails on windows are unrelated to this Java 23 issue. I created a new ticket for it: #1752 |
#1789 worked around this JDK error. now jdt.ui tests have 0 fails in https://download.eclipse.org/eclipse/downloads/drops4/I20241111-1800/testresults/html/org.eclipse.jdt.ui.tests_ep434I-unit-linux-x86_64-java23_linux.gtk.x86_64_23.html |
Failures are like 'Can not get final java.lang.Class field java.lang.Class.componentType on java.lang.Class'
See https://download.eclipse.org/eclipse/downloads/drops4/I20240919-1230/testresults/html/org.eclipse.jdt.ui.tests_ep434I-unit-cen64-gtk3-java23_linux.gtk.x86_64_23.html for details.
The text was updated successfully, but these errors were encountered: