Ignore:
Timestamp:
2014-02-14T01:09:29+01:00 (10 years ago)
Author:
Don-vip
Message:

see #8888 - Add icedtea-web package version in status report for Debian/Ubuntu

File:
1 edited

Legend:

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

    r6643 r6850  
    6969     * @return The report header (software and system info)
    7070     */
    71     public static String getReportHeader()
    72     {
     71    public static String getReportHeader() {
    7372        StringBuilder text = new StringBuilder();
    7473        text.append(Version.getInstance().getReleaseAttributes());
     
    8786        text.append("\n");
    8887        if (Main.platform.getClass() == PlatformHookUnixoid.class) {
     88            // Add Java package details for Debian/Ubuntu
    8989            String packageDetails = ((PlatformHookUnixoid) Main.platform).getJavaPackageDetails();
    9090            if (packageDetails != null) {
     
    9292                text.append(packageDetails);
    9393                text.append("\n");
     94            }
     95            // Add WebStart package details for Debian/Ubuntu, if run from JNLP
     96            if (Package.getPackage("javax.jnlp") != null) {
     97                String webStartDetails = ((PlatformHookUnixoid) Main.platform).getWebStartPackageDetails();
     98                if (webStartDetails != null) {
     99                    text.append("WebStart package: ");
     100                    text.append(webStartDetails);
     101                    text.append("\n");
     102                }
    94103            }
    95104        }
Note: See TracChangeset for help on using the changeset viewer.