diff --git a/build.gradle b/build.gradle
index 545827293..0a3b493c8 100644
--- a/build.gradle
+++ b/build.gradle
@@ -650,7 +650,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 b12ddd62a..90164ea8b 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 ...
+