[mkgmap-dev] Commit r4448: fix possible NPE introduced with r4432
From Mike Baggaley mike.baggaley at basfordltc.co.uk on Thu Feb 13 10:09:52 GMT 2020
>Version mkgmap-r4448 was committed by gerd on Thu, 13 Feb 2020 > >fix possible NPE introduced with r4432 >FileNotFoundException was ignored. May result in a NullPointerException when input file is not in the expected format. e.g. with >java -jar mkgmap.jar . Hi Gerd, I can't see how this update can make any difference. The change catches the FileNotFoundException and immediately re-throws it, so it effectively does nothing. Looking at the call hierarchy, FileNotFoundException is caught in createRawData, makeMap and loadCoastlines so all the functions that call the load function directly or indirectly catch the exception. Regards, Mike
- Previous message: [mkgmap-dev] Commit r4448: fix possible NPE introduced with r4432
- Next message: [mkgmap-dev] Commit r4448: fix possible NPE introduced with r4432
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list