<i18n dev> RFR: 8305505: NPE in javazic compiler

Yoshiki Sato ysatowse at openjdk.org
Tue Apr 25 05:23:15 UTC 2023


On Tue, 18 Apr 2023 19:50:59 GMT, Naoto Sato <naoto at openjdk.org> wrote:

>> Please review this PR.  
>> With this minor change, the javazic compiler (Main.java) can produce the HTML files that display given time zone data correctly.
>
> test/jdk/sun/util/calendar/zi/GenDoc.java line 159:
> 
>> 157:             if (mapList == null) {
>> 158:                 mapList = new HashMap<String, LatitudeAndLongitude>();
>> 159:                 if (Main.getMapFile() != null) {
> 
> You could retain the map file and use it in the following line

Correct.  Thanks for the catch.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/13504#discussion_r1170668064


More information about the i18n-dev mailing list