Fixed: #2609 JDK 25+ warnings on console about native access

This commit is contained in:
Jindra Petřík
2026-01-17 20:44:53 +01:00
parent ac7cc42eea
commit 7790eb7d66
4 changed files with 7 additions and 1 deletions

View File

@@ -139,6 +139,7 @@
<manifest>
<attribute name="Main-Class" value="${main.class}"/>
<attribute name="Class-Path" value="${manifestClassPath} ${app.jar}"/>
<attribute name="Enable-Native-Access" value="ALL-UNNAMED" />
</manifest>
</jar>
<copy file="${dist.dir}/${jar.filename}.jar" tofile="${app.dir}/${jar.filename}.jar" />