Ignore:
Timestamp:
2018-04-19T20:37:16+02:00 (6 years ago)
Author:
Don-vip
Message:

see #16204 - Allow to start and close JOSM in WebStart sandbox mode (where every external access is denied). This was very useful to reproduce some very tricky bugs that occured in real life but were almost impossible to diagnose.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/CachedFile.java

    r13560 r13647  
    282282                }
    283283            } else {
    284                 cacheFile = checkLocal(url);
     284                try {
     285                    cacheFile = checkLocal(url);
     286                } catch (SecurityException e) {
     287                    throw new IOException(e);
     288                }
    285289            }
    286290        } catch (MalformedURLException e) {
Note: See TracChangeset for help on using the changeset viewer.