[lworld] Treating primitives as isValue() leads to vm crash

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • repo-valhalla
    • Affects Version/s: repo-valhalla
    • Component/s: core-libs

      When JDK-8346307 changed Class.isValue() to return true for primitive classes, such as `int.class`; the ValueObjectMethods that are creating method handles for substutitability tests leads to a crash in Unsafe.valueHeaderSize.
      The hs_err file is attached.

      The code in Class.isValue() that changed is in [PR#1327](https://github.com/openjdk/valhalla/pull/1327/)
      InnerClassLambdaMetafactory in that PR also has a change that may be related.

            Assignee:
            Chen Liang
            Reporter:
            Roger Riggs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: