Ignore:
Timestamp:
2014-12-01T03:45:10+01:00 (5 years ago)
Author:
Don-vip
Message:

see #10795 - avoid error caused by a missing jnlp file on the second restart

File:
1 edited

Legend:

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

    r7757 r7758  
    103103                }
    104104                for (String arg : arguments) {
     105                    // When run from jp2launcher.exe, jnlpx.remove is true, while it is not when run from javaws
     106                    // Always set it to false to avoid error caused by a missing jnlp file on the second restart
     107                    arg = arg.replace("-Djnlpx.remove=true", "-Djnlpx.remove=false");
    105108                    // if it's the agent argument : we ignore it otherwise the
    106109                    // address of the old application and the new one will be in conflict
Note: See TracChangeset for help on using the changeset viewer.