Changeset 18986 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2024-02-15T16:06:37+01:00 (9 months ago)
Author:
taylor.smock
Message:

See #23355: Sanity check JVM arguments on startup

Change the icon for Continue and be a more lenient when comparing expected JVM
arguments against actual JVM arguments.

This additionally updates the Eclipse launch files.

Location:
trunk/src/org/openstreetmap/josm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/MainApplication.java

    r18985 r18986  
    418418        if (canContinue) {
    419419            ed = new ExtendedDialog(mainFrame, title, tr("Stop"), tr("Continue"));
    420             ed.setButtonIcons("cancel", "ok");
     420            ed.setButtonIcons("cancel", "apply");
    421421        } else {
    422422            ed = new ExtendedDialog(mainFrame, title, tr("Stop"));
  • trunk/src/org/openstreetmap/josm/tools/PlatformHook.java

    r18985 r18986  
    414414        final StringBuilder missingArguments = new StringBuilder();
    415415        for (String arg : expectedJvmArguments) {
    416             if (!vmArguments.contains(arg)) {
     416            if (vmArguments.stream().noneMatch(s -> s.contains(arg))) {
    417417                if (missingArguments.length() > 0) {
    418418                    missingArguments.append("<br>");
Note: See TracChangeset for help on using the changeset viewer.