File: 09-remove-reflective-access-warning.patch

package info (click to toggle)
jaxb 2.3.0.1-10.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 19,388 kB
  • sloc: java: 108,759; xml: 16,672; sh: 654; jsp: 384; makefile: 17
file content (11 lines) | stat: -rw-r--r-- 478 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
Description: Open the modules to remove the reflective access warnings on the command line
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: no
--- a/jaxb-ri/bundles/ri/src/main/resources/bin/xjc.zip.sh
+++ b/jaxb-ri/bundles/ri/src/main/resources/bin/xjc.zip.sh
@@ -74,4 +74,4 @@
     JAVA=java
 fi
  
-$JAVA $XJC_OPTS -cp "$CLASSPATH" com.sun.tools.xjc.Driver "$@"
+$JAVA $XJC_OPTS --add-opens=java.base/java.lang=ALL-UNNAMED -cp "$CLASSPATH" com.sun.tools.xjc.Driver "$@"