NPE when executing HotSpotConstantReflectionProvider::constantEquals with null first arg

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: hotspot
    • b108
    • generic
    • generic

      A NullPointerException is thrown, when one calls jdk.vm.ci.hotspot.HotSpotConstantReflectionProvider::constantEquals(Constant x, Constant y) with the first argument x equal to null.

      Additional check should be added for null as the first argument.

            Assignee:
            Konstantin Shefov
            Reporter:
            Konstantin Shefov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: