Changeset 6950 in josm for trunk/src


Ignore:
Timestamp:
2014-03-30T01:17:23+01:00 (11 years ago)
Author:
Don-vip
Message:

see #9875 - implement fallback via advanced preference jdk.tls.enableSNIExtension to re-enable SNI if needed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/Preferences.java

    r6946 r6950  
    12801280        // Workaround to fix a Java "feature"
    12811281        // See http://stackoverflow.com/q/7615645/2257172 and #9875
    1282         updateSystemProperty("jsse.enableSNIExtension", "false");
     1282        if (getBoolean("jdk.tls.disableSNIExtension", true)) {
     1283            updateSystemProperty("jsse.enableSNIExtension", "false");
     1284        }
    12831285        // Workaround to fix another Java bug
    12841286        // Force Java 7 to use old sorting algorithm of Arrays.sort (fix #8712).
Note: See TracChangeset for help on using the changeset viewer.