Changeset 17689 in josm


Ignore:
Timestamp:
2021-03-30T09:03:21+02:00 (4 years ago)
Author:
simon04
Message:

see #19724 - Fix WinRegistry in unit test

Add missing --add-opens java.prefs/java.util.prefs for PlatformHookWindowsTest

Unable to make private static native long[] java.util.prefs.WindowsPreferences.WindowsRegOpenKey(long,byte[],int) accessible: module java.prefs does not "opens java.util.prefs" to unnamed module ...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r17644 r17689  
    479479                            <jvmarg value="--add-opens" if:set="isJava9" />
    480480                            <jvmarg value="java.desktop/java.awt=ALL-UNNAMED" if:set="isJava9" />
     481                        <jvmarg value="--add-opens" if:set="isJava9" />
     482                            <jvmarg value="java.prefs/java.util.prefs=ALL-UNNAMED" if:set="isJava9" />
    481483                        <jvmarg value="-XX:+ShowCodeDetailsInExceptionMessages" if:set="isJava14" unless:set="isJava15" />
    482484                            <sysproperty key="josm.home" value="${test.dir}/config/@{testfamily}-josm.home"/>
Note: See TracChangeset for help on using the changeset viewer.