Changeset 6617 in josm
- Timestamp:
- 2014-01-03T23:05:54+01:00 (11 years ago)
- Location:
- trunk/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/com/kitfox/svg/SVGUniverse.java
r6002 r6617 389 389 { 390 390 //Workaround for resources stored in jars loaded by Webstart. 391 //http://bugs. sun.com/bugdatabase/view_bug.do?bug_id=6753651391 //https://bugs.openjdk.java.net/browse/JDK-6753651 392 392 url = SVGUniverse.class.getResource("xmlBase.getPath()"); 393 393 } -
trunk/src/org/openstreetmap/josm/data/Preferences.java
r6599 r6617 1261 1261 // Workaround to fix a Java bug. 1262 1262 // Force AWT toolkit to update its internal preferences (fix #3645). 1263 // This ugly hack comes from Sun bug database: http://bugs. sun.com/bugdatabase/view_bug.do?bug_id=62927391263 // This ugly hack comes from Sun bug database: https://bugs.openjdk.java.net/browse/JDK-6292739 1264 1264 try { 1265 1265 Field field = Toolkit.class.getDeclaredField("resources"); … … 1271 1271 // Workaround to fix another Java bug 1272 1272 // Force Java 7 to use old sorting algorithm of Arrays.sort (fix #8712). 1273 // See Oracle bug database: http://bugs. sun.com/bugdatabase/view_bug.do?bug_id=70756001274 // and http://bugs. sun.com/bugdatabase/view_bug.do?bug_id=69232001273 // See Oracle bug database: https://bugs.openjdk.java.net/browse/JDK-7075600 1274 // and https://bugs.openjdk.java.net/browse/JDK-6923200 1275 1275 if (Main.pref.getBoolean("jdk.Arrays.useLegacyMergeSort", !Version.getInstance().isLocalBuild())) { 1276 1276 updateSystemProperty("java.util.Arrays.useLegacyMergeSort", "true"); -
trunk/src/org/openstreetmap/josm/gui/widgets/JosmPasswordField.java
r6248 r6617 15 15 /** 16 16 * A subclass of {@link JPasswordField} to implement a workaround to 17 * <a href="http://bugs. sun.com/bugdatabase/view_bug.do?bug_id=6322854">JDK bug 6322854</a>.17 * <a href="https://bugs.openjdk.java.net/browse/JDK-6322854">JDK bug 6322854</a>. 18 18 * This class can be deleted after Oracle decides to fix this bug... 19 19 * … … 91 91 92 92 /** 93 * Implements a workaround to <a href="http://bugs. sun.com/bugdatabase/view_bug.do?bug_id=6322854">JDK bug 6322854</a>.93 * Implements a workaround to <a href="https://bugs.openjdk.java.net/browse/JDK-6322854">JDK bug 6322854</a>. 94 94 * @param text The {@link JTextComponent} to protect. 95 95 */ … … 107 107 Main.error("NullPointerException occured because of JDK bug 6322854. " 108 108 +"Copy/Paste operation has not been performed. Please complain to Oracle: "+ 109 "http://bugs. sun.com/bugdatabase/view_bug.do?bug_id=6322854");109 "https://bugs.openjdk.java.net/browse/JDK-6322854"); 110 110 } 111 111 } -
trunk/src/org/openstreetmap/josm/io/MirroredInputStream.java
r6380 r6617 279 279 * Manually follows redirects because 280 280 * {@link HttpURLConnection#setFollowRedirects(boolean)} fails if the redirect 281 * is going from a http to a https URL, see <a href="http://bugs. sun.com/bugdatabase/view_bug.do?bug_id=4620571">bug report</a>.281 * is going from a http to a https URL, see <a href="https://bugs.openjdk.java.net/browse/JDK-4620571">bug report</a>. 282 282 * <p> 283 283 * This can causes problems when downloading from certain GitHub URLs. -
trunk/src/org/openstreetmap/josm/tools/Utils.java
r6615 r6617 752 752 * An alternative to {@link String#trim()} to effectively remove all leading and trailing white characters, including Unicode ones. 753 753 * @see <a href="http://closingbraces.net/2008/11/11/javastringtrim/">Java’s String.trim has a strange idea of whitespace</a> 754 * @see <a href="http://bugs. sun.com/bugdatabase/view_bug.do?bug_id=4080617">JDK bug 4080617</a>754 * @see <a href="https://bugs.openjdk.java.net/browse/JDK-4080617">JDK bug 4080617</a> 755 755 * @param str The string to strip 756 756 * @return <code>str</code>, without leading and trailing characters, according to
Note:
See TracChangeset
for help on using the changeset viewer.