mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-11 06:27:13 -06:00
Demo and Theme Editor: added Enable-Native-Access: ALL-UNNAMED to MANIFEST.MF to avoid warning when lauchned with Java 24
This commit is contained in:
@@ -48,6 +48,9 @@ tasks {
|
|||||||
|
|
||||||
if( JavaVersion.current() >= JavaVersion.VERSION_1_9 )
|
if( JavaVersion.current() >= JavaVersion.VERSION_1_9 )
|
||||||
attributes( "Multi-Release" to "true" )
|
attributes( "Multi-Release" to "true" )
|
||||||
|
|
||||||
|
// allow loading FlatLaf native library in Java 24+ (see https://openjdk.org/jeps/472)
|
||||||
|
attributes( "Enable-Native-Access" to "ALL-UNNAMED" )
|
||||||
}
|
}
|
||||||
|
|
||||||
exclude( "module-info.class" )
|
exclude( "module-info.class" )
|
||||||
|
|||||||
@@ -46,6 +46,9 @@ tasks {
|
|||||||
|
|
||||||
if( JavaVersion.current() >= JavaVersion.VERSION_1_9 )
|
if( JavaVersion.current() >= JavaVersion.VERSION_1_9 )
|
||||||
attributes( "Multi-Release" to "true" )
|
attributes( "Multi-Release" to "true" )
|
||||||
|
|
||||||
|
// allow loading FlatLaf native library in Java 24+ (see https://openjdk.org/jeps/472)
|
||||||
|
attributes( "Enable-Native-Access" to "ALL-UNNAMED" )
|
||||||
}
|
}
|
||||||
|
|
||||||
exclude( "module-info.class" )
|
exclude( "module-info.class" )
|
||||||
|
|||||||
Reference in New Issue
Block a user