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

[lworld] Treating interfaces as isValue() leads to failed assert

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • repo-valhalla
    • repo-valhalla
    • core-libs

      When JDK-8346307 changed Class.isValue() to return true for interfaces, such as `java.util.List`;
      the ValueObjectMethods that are creating method handles for substutitability tests leads to failed assert in ValueObjectMethods$MethodHandleBuilder.<init>(ValueObjectMethods.java:418).

      The code in Class.isValue() that changed is in [PR#1327](https://github.com/openjdk/valhalla/pull/1327/)

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

              Created:
              Updated: