Closed pavly-gerges closed 1 year ago
If we know what had happened to libawt.so
source code, we could redirect the call to the new binary, i cannot find anything related to awt on the jdk-19 JEPs, have anyone tried jdk-18 with lwjgl-2 ? Can you reproduce this issue with jdk-18 ?
Running on jMonkeyEngine 3.4.0-stable
Hehe! update to 3.6.0-beta3 and it should be fine I believe ;)
@Scrappers-glitch please feel free to reopen this issue if it still happens with 3.6.0-beta3.
I tested it now and it happens with v3.6.0-beta3 (as long as the native core of lwjgl-2 hasn't changed then i suspected this).
Oops! going to test it now.
I am going to test it with open-jdk but later not now, but hey everything should support oracle jdk....
I navigated to the root jdk-19 directory and found the libawt.so
binary....
┌─[pavl-machine@pavl-machine]─[/home/twisted/GradleProjects/Serial4j-v1/jdk-19]
└──╼ $ls */* | grep libawt
lib/libawt_headless.so
lib/libawt.so
lib/libawt_xawt.so
The issue is related specifically to the SUNWprivate_1.1
version of libawt that it is not found or has changed, any ideas on what is this ???
@Scrappers-glitch did you remove old lwjgl2 natives before updating to jme 3.6.0-beta3?
Make sure to remove old lwjgl2 natives so the new ones get extracted.
@Scrappers-glitch did you remove old lwjgl2 natives before updating to jme 3.6.0-beta3?
Make sure to remove old lwjgl2 natives so the new ones get extracted.
It ran fine now, thank you !
I see there was a change in the lwjgl-2 binaries on commit https://github.com/jMonkeyEngine/jmonkeyengine/commit/3e1b823bdb7c7a2e60916dab32186141b3fd9800
Yes, natives for Linux are updated. They are built with java 11.
Edit: See https://github.com/jMonkeyEngine/lwjgl2/commit/eb0c8dc710bd1d3b7e4ad8b2f0dce4ee71a06509
FWIW this is all exactly the reason "the old" jwlgl2 didn't run, "sun private" fields have been removed from existing .so's, causing a rebuild. Could have been that we'd need to re-build with 19, but luckily it's the same regression that we had on 11 already, albeit the symptom is now more explicit
Today, i was randomly testing the behavior of a jMonkeyEngine desktop application using oracle-jdk-19 on a linux amd64 machine, and some native binaries have been removed from the jdk-19
libjawt.so
or may be get merged into another shared object file, i have to look for this binary specifically on the JEPs, but later. i opened the issue for now to not mess this out...here is the crashlogs:
EDIT: Lwjgl-3 works fine when running the application using jdk-19.