|
|
|
|
|
|
|
|
Re: Java SE '21' is not fully supported yet [message #1868343 is a reply to message #1868328] |
Wed, 17 July 2024 11:53 |
Tom Eugelink Messages: 825 Registered: July 2009 |
Senior Member |
|
|
I have not provided that, because I was not asked. If something is known, there is no need to provide such steps, and this text 'But EL 4.x line is Jakarta EE 10 compliant -> target JDK 17 ' pretty much says that.
However, after contemplating on on how to proceed, including Hibernate, this text made me think: 'There is ASM 9.6 which supports JDK 22'
There is no ASM in my dependency tree, but it turns out EL uses an embedded version named 'org.eclipse.persistence.asm'. After upgrading that to the latest release, 9.7.0, the warning message is gone. And the agent also seems to do its job.
|
|
|
Re: Java SE '21' is not fully supported yet [message #1868349 is a reply to message #1868343] |
Wed, 17 July 2024 12:23 |
Tom Eugelink Messages: 825 Registered: July 2009 |
Senior Member |
|
|
I did a bit more research, the org.eclipse.persistence.asm artifact was put into the dependency graph via:
+- com.sun.xml.ws:jaxws-ri:pom:4.0.1:compile
| +- com.sun.xml.ws:jaxws-eclipselink-plugin:jar:4.0.1:compile
| | \- org.eclipse.persistence:org.eclipse.persistence.moxy:jar:4.0.0:compile
| | +- org.eclipse.persistence:org.eclipse.persistence.asm:jar:9.4.0:compile
The first ASM release that supports J21 is 9.5, so the warning seems to be correct.
https://asm.ow2.io/versions.html
However, the reason for the warning seems not be EL itself. I just did exactly what the warning text told me to do :-) (after waiting almost a year)
[Updated on: Wed, 17 July 2024 12:27] Report message to a moderator
|
|
|
|
Re: Java SE '21' is not fully supported yet [message #1868358 is a reply to message #1868355] |
Wed, 17 July 2024 14:23 |
Tom Eugelink Messages: 825 Registered: July 2009 |
Senior Member |
|
|
Yes, I did. That bugfix version indeed pulls in org.eclipse.persistence:org.eclipse.persistence.asm 9.5.
I'm grateful for the help and that we got this sorted out. In my opinion it is not unreasonable that a message like Java SE '21' is not fully supported yet. Report this error to the EclipseLink open source project. made me think that Eclipselink is not supporting J21. So that was my answer. If it was obvious for you guys that this message comes from the embedded ASM, pointing me towards checking the version of that dependency would have sped things up. For me this message was just "Eclipselink" telling me not to use J21. It is a shame the message caused confusion.
[Updated on: Wed, 17 July 2024 15:00] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.06069 seconds