Changeset 18322 in josm
- Timestamp:
- 2021-11-11T13:45:51+01:00 (3 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/build.xml
r18309 r18322 458 458 <jvmarg value="-Dfile.encoding=UTF-8"/> 459 459 <jvmarg value="-Djava.locale.providers=SPI,JRE,CLDR" if:set="isJava9" /> 460 <jvmarg value="-Djava.security.manager=allow" if:set="isJava17" /> 460 461 <jvmarg value="-javaagent:${test.dir}/lib/jmockit.jar"/> 461 462 <jvmarg value="-Djunit.jupiter.extensions.autodetection.enabled=true"/> -
trunk/src/org/openstreetmap/josm/gui/MainApplication.java
r18115 r18322 1035 1035 // Disable automatic POST retry after 5 minutes, see #17882 / https://bugs.openjdk.java.net/browse/JDK-6382788 1036 1036 Utils.updateSystemProperty("sun.net.http.retryPost", "false"); 1037 if (Utils.getJavaVersion() >= 17) { 1038 // Allow security manager, otherwise it raises a warning in Java 17 and throws an error with Java 18+ 1039 // See https://bugs.openjdk.java.net/browse/JDK-8271301 / https://bugs.openjdk.java.net/browse/JDK-8270380 1040 Utils.updateSystemProperty("java.security.manager", "allow"); 1041 } 1037 1042 } 1038 1043
Note:
See TracChangeset
for help on using the changeset viewer.