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

@@ -32,6 +32,7 @@ All notable changes to this project will be documented in this file.
- [#2600] Sprite/button outline incorrect calculation caused by clipping
- [#2612] SVG export - handle incorrect surrogate pairs in text
- [#2612] SVG export - problems with retain shape bounds setting
- [#2609] JDK 25+ warnings on console about native access
### Changed
- [#2575] dumpSWF CLI command only allows single SWF dump (no imports, etc.)
@@ -4098,6 +4099,7 @@ Major version of SWF to XML export changed to 2.
[#2586]: https://www.free-decompiler.com/flash/issues/2586
[#2600]: https://www.free-decompiler.com/flash/issues/2600
[#2612]: https://www.free-decompiler.com/flash/issues/2612
[#2609]: https://www.free-decompiler.com/flash/issues/2609
[#2556]: https://www.free-decompiler.com/flash/issues/2556
[#2536]: https://www.free-decompiler.com/flash/issues/2536
[#2537]: https://www.free-decompiler.com/flash/issues/2537

View File

@@ -712,6 +712,7 @@
<manifest>
<attribute name="Main-Class" value="${main.class}"/>
<attribute name="Class-Path" value="${manifestClassPath}"/>
<attribute name="Enable-Native-Access" value="ALL-UNNAMED" />
</manifest>
</jar>
<antcall target="build_cli"></antcall>

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" />

View File

@@ -242,7 +242,9 @@
</propertyfile>
<jar destfile="${dist.dir}/${jar.filename}.jar" basedir="${compile.dir}">
<manifest>
<attribute name="Enable-Native-Access" value="ALL-UNNAMED" />
</manifest>
</jar>
</target>