[lworld] multinewarray bytecode should check for ValueType inconsistency

XMLWordPrintable

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

      See

      http://cr.openjdk.java.net/~iklam/valhalla/tests_for_value_types_consistency_checks.v02/
      http://cr.openjdk.java.net/~iklam/valhalla/tests_for_value_types_consistency_checks.v02/ConsistencyTest.jtr

      In this version of the tests, ResolveArray and ResolveMultiArray has opposite behavior. Specifically:

             anewarray #2 // class Point
             multianewarray #2, 2 // class "[[LPoint;"

      The anewarray bytecode fails but the multianewarray bytecode succeeds.

      I think multianewarray should also fail (and the ResolveMultiArray test case should be fixed to reflect that).

            Assignee:
            Frederic Parain
            Reporter:
            Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: