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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • repo-valhalla
    • repo-valhalla
    • 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.

            liach Chen Liang
            rriggs Roger Riggs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: