Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8305505

NPE in javazic compiler

XMLWordPrintable

    • b21

        javazic compiler is no longer used but still employed to test if the timezone data generated by the JSR 310 compiler is correct. It returns NPE in a normal execution.

        $ cd test/jdk/sun/util/calendar/zi/
        $ javac -J-Duser.language=en --add-exports=java.base/sun.util.calendar=ALL-UNNAMED Main.java
        $ java --add-exports java.base/sun.util.calendar=ALL-UNNAMED Main -doc asia
        Exception in thread "main" java.lang.NullPointerException: Cannot invoke "java.util.HashMap.get(Object)" because "this.mapList" is null
        at GenDoc.processZoneinfo(GenDoc.java:183)
        at Main.compile(Main.java:115)
        at Main.main(Main.java:146)

              ysatowse Yoshiki Sato (Inactive)
              ysatowse Yoshiki Sato (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: