source: osm/applications/editors/josm/dist/buildings_tools.jar@ 35908

Last change on this file since 35908 was 35908, checked in by taylor.smock, 4 years ago

building_tools: Add NPE check in EDT along with a defensive copy

This fixes #21833: NPE: Cannot invoke "org.openstreetmap.josm.data.coor.EastNorth.east()".
This is caused by something either calling the reset method *or* one of the
methods for calculating the EastNorth returning null.

In any case, we fix the potential race condition by making a defensive copy of
the en array, and then checking the defensive copy for nulls in the EDT,
where appropriate.

  • Property svn:mime-type set to application/java-archive
File size: 77.1 KB

HTML preview not available, since no preview renderer could handle it.Try downloading the file instead.

Note: See TracBrowser for help on using the repository browser.