Closed ThisOtterBeGood closed 2 years ago
Bump. This exception happened to us after a user reported this issue after installing a system update for Windows.
Unfortunately can not reproduce this exception...
Seems that extracting the DLL from flatlaf.jar to temporary folder works fine. Also loading the DLL seems go well. But invoking a method in the DLL fails...
Could you please run following on command line and post the output:
dir %TEMP%\flatlaf.temp
java -XshowSettings:properties -version
Does this occur on every start? Or occasionally?
I'm sorry I hadn't have time to test last week. I just realize it might be a problem with our corporate execution policy, so you might want to stop investigating until i can hash that out.
@ThisOtterBeGood thanks for the info. This could be the reason.
I've modified the code to catch the UnsatisfiedLinkError
and continue with standard window decorations.
A updated demo is in the build artifacts here (at the bottom): https://github.com/JFormDesigner/FlatLaf/actions/runs/1547109693
@Nibby please try the latest 1.6.5-SNAPSHOT
: https://github.com/JFormDesigner/FlatLaf#snapshots
It's our execution policy. It prohibits the usage of ('%temp%\flatlaf.temp\flatlaf-windows-x86_64-9110333436000.dll"
That snapshot works: https://github.com/JFormDesigner/FlatLaf/actions/runs/1547109693
Thank you so much!
@ThisOtterBeGood many thanks for the update.
FlatLaf 1.6.5 released
java -version:
Exception: