[lworld][c1] checkcast for value type should throw NullPointerException with null operand

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • repo-valhalla
    • Affects Version/s: repo-valhalla
    • Component/s: hotspot

      When Point is a value class, the following should throw NullPointerException.

      static Point test() {
          Object o = null;
          Point p = (Point)o;
          return p;
      }

            Assignee:
            Ioi Lam
            Reporter:
            Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: