File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -199,6 +199,8 @@ if [ $use_graal_vm == false -a "$graal_js" == "" ] ; then
199199 -Xmx2g \
200200 -Djosm.home=` pwd` /josm-home \
201201 -Djava.util.logging.config.file=` pwd` /logging.properties \
202+ --add-opens java.prefs/java.util.prefs=ALL-UNNAMED \
203+ --add-opens java.desktop/javax.swing.text.html=ALL-UNNAMED \
202204 --add-exports=java.base/sun.security.action=ALL-UNNAMED \
203205 --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED \
204206 --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED \
@@ -209,6 +211,8 @@ elif [ $use_graal_vm == true -a "$jdk" == "jdk17" ] ; then
209211 -Xmx2g \
210212 -Djosm.home=` pwd` /josm-home \
211213 -Djava.util.logging.config.file=` pwd` /logging.properties \
214+ --add-opens java.prefs/java.util.prefs=ALL-UNNAMED \
215+ --add-opens java.desktop/javax.swing.text.html=ALL-UNNAMED \
212216 -jar ` pwd` /$josm_jar "
213217else
214218 if [ $graljs_major -lt 23 ] || ( [ $graaljs_major -eq 23 ] && [ $graaljs_minor -eq 0 ] ) ; then
226230 --module-path $graal_js_home /lib \
227231 --add-modules $modules \
228232 --add-opens java.prefs/java.util.prefs=ALL-UNNAMED \
233+ --add-opens java.desktop/javax.swing.text.html=ALL-UNNAMED \
229234 --add-exports=java.base/sun.security.action=ALL-UNNAMED \
230235 --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED \
231236 --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED \
You can’t perform that action at this time.
0 commit comments