Changeset 17165 in josm


Ignore:
Timestamp:
2020-10-11T17:49:41+02:00 (11 days ago)
Author:
Don-vip
Message:

see #17387 - see #19746 - add more debug information in case of reprojection error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/imagery/ReprojectionTile.java

    r14816 r17165  
    176176                this.maxZoomReached = scaleFix != null;
    177177            }
    178         } catch (NegativeArraySizeException e) {
    179             // See #17387 - https://bugs.openjdk.java.net/browse/JDK-4690476
    180             throw BugReport.intercept(e).put("targetDim", targetDim);
     178        } catch (NegativeArraySizeException | IllegalArgumentException e) {
     179            // See #19746 + #17387 - https://bugs.openjdk.java.net/browse/JDK-4690476
     180            throw BugReport.intercept(e).put("targetDim", targetDim).put("key", getKey())
     181                .put("projCurrent", projCurrent).put("projServer", projServer).put("pbServer", pbServer);
    181182        }
    182183    }
Note: See TracChangeset for help on using the changeset viewer.