From 524cabda94a4f0d385d9521120abc129111d2716 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Werner=20Fouch=C3=A9?= Date: Sat, 20 Dec 2025 20:14:49 +0200 Subject: [PATCH] Allow native access in JDK 25 --- build.gradle | 3 ++- build.xml | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 708e0264f..11dfb6401 100644 --- a/build.gradle +++ b/build.gradle @@ -651,7 +651,8 @@ jar { attributes ([ 'Main-Class': 'org.python.util.jython', 'Built-By': 'build.gradle', - 'Automatic-Module-Name': 'org.python.jython2' + 'Automatic-Module-Name': 'org.python.jython2', + 'Enable-Native-Access': 'ALL-UNNAMED' ]) attributes( [ // Build-Info section diff --git a/build.xml b/build.xml index c0e17909d..18dbf9ebd 100644 --- a/build.xml +++ b/build.xml @@ -924,6 +924,7 @@ The text for an official release would continue like ... +
@@ -948,6 +949,7 @@ The text for an official release would continue like ... +