Ignore:
Timestamp:
2017-05-20T17:11:37+02:00 (7 years ago)
Author:
Don-vip
Message:

see #14821 - workaround for JDK-8180379/JDK-8179014 : prevent JVM crash when opening a file chooser on Windows 10 Creators Update with Windows look & feel + add information about OS build number for Windows & macOS + add utilities to get Java update/build version numbers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/ShowStatusReportAction.java

    r11746 r12217  
    8484        String runtimeVersion = System.getProperty("java.runtime.version");
    8585        text.append(Version.getInstance().getReleaseAttributes())
    86             .append("\nIdentification: ").append(Version.getInstance().getAgentString())
    87             .append("\nMemory Usage: ")
     86            .append("\nIdentification: ").append(Version.getInstance().getAgentString());
     87        String buildNumber = Main.platform.getOSBuildNumber();
     88        if (!buildNumber.isEmpty()) {
     89            text.append("\nOS Build number: ").append(buildNumber);
     90        }
     91        text.append("\nMemory Usage: ")
    8892            .append(Runtime.getRuntime().totalMemory()/1024/1024)
    8993            .append(" MB / ")
Note: See TracChangeset for help on using the changeset viewer.