Ignore:
Timestamp:
2018-11-03T01:07:53+01:00 (7 years ago)
Author:
Don-vip
Message:

see #16937 - Support user logins with space character on Java 11 (JOSM startup)

File:
1 edited

Legend:

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

    r14404 r14406  
    3131import java.net.URL;
    3232import java.nio.charset.StandardCharsets;
     33import java.nio.file.InvalidPathException;
    3334import java.util.Arrays;
    3435import java.util.Base64;
     
    11651166            synchronized (getSvgUniverse()) {
    11661167                try {
    1167                     URI uri = getSvgUniverse().loadSVG(path);
     1168                    URI uri = null;
     1169                    try {
     1170                        uri = getSvgUniverse().loadSVG(path);
     1171                    } catch (InvalidPathException e) {
     1172                        Logging.error("Cannot open {0}: {1}", path, e.getMessage());
     1173                        Logging.trace(e);
     1174                    }
    11681175                    if (uri == null && "jar".equals(path.getProtocol())) {
    11691176                        URL betterPath = Utils.betterJarUrl(path);
Note: See TracChangeset for help on using the changeset viewer.