Changeset 8923 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2015-10-21T10:27:13+02:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/PlatformHookOsx.java
r8848 r8923 66 66 // We'll just ignore this for now. The user will still be able to close JOSM by closing all its windows. 67 67 Main.warn("Failed to register with OSX: " + ex); 68 } 69 // Invite users to install Java 8 if they are still with Java 7 70 String java = System.getProperty("java.version"); 71 if (java != null && java.startsWith("1.7")) { 72 askUpdateJava(java); 68 73 } 69 74 } -
trunk/src/org/openstreetmap/josm/tools/PlatformHookUnixoid.java
r8848 r8923 395 395 } 396 396 397 // Method kept because strings have already been translated. To enable for Java 8 migration somewhere in 2016398 397 protected void askUpdateJava(final String version, final String url) { 399 398 GuiHelper.runInEDTAndWait(new Runnable() { -
trunk/src/org/openstreetmap/josm/tools/PlatformHookWindows.java
r8846 r8923 61 61 */ 62 62 public class PlatformHookWindows extends PlatformHookUnixoid implements PlatformHook { 63 64 @Override 65 public void startupHook() { 66 // Invite users to install Java 8 if they are still with Java 7 67 String version = System.getProperty("java.version"); 68 if (version != null && version.startsWith("1.7")) { 69 askUpdateJava(version); 70 } 71 } 63 72 64 73 private static final byte[] INSECURE_PUBLIC_KEY = new byte[] {
Note:
See TracChangeset
for help on using the changeset viewer.