logo separator

[mkgmap-dev] Commit r4188: Fix problem with JRE 10 and newer:

From svn commit svn at mkgmap.org.uk on Sun May 13 09:22:56 BST 2018

Version mkgmap-r4188 was committed by gerd on Sun, 13 May 2018

Fix problem with JRE 10 and newer:
The ZipFile constructor throws NoSuchFileException instead of FileNotFoundException when a file doesn't exist.

As a result mkgmap prints missleading error messages like
"failed to get size for file N52E002.hgt from f:\srtm3\N52E002.hgt.zip"

Now mkgmap first checks if the file exists before trying to open it as a ZipFile.

http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4188


More information about the mkgmap-dev mailing list