Changeset 19144 in josm


Ignore:
Timestamp:
2024-07-16T14:41:32+02:00 (6 weeks ago)
Author:
taylor.smock
Message:

Fix #23809: Desktop.getDesktop().browse can throw an UnsupportedOperationException

This probably was never a problem previously because xdg-open was tried first
(see #23804 for why that changed).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/PlatformHookUnixoid.java

    r19143 r19144  
    8383                }
    8484                return;
    85             } catch (IOException | URISyntaxException e) {
     85            } catch (IOException | UnsupportedOperationException | URISyntaxException e) {
    8686                Logging.warn(e);
    8787            }
Note: See TracChangeset for help on using the changeset viewer.