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

[lworld] Check that inline types implement InlineObject and not IdentityObject

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • repo-valhalla
    • repo-valhalla
    • hotspot

      Add the following checks and appropriate tests:

      1. Throw IncompatibleClassChangeError exception if an inline type does not implement java.lang.InlineObject

      2. Throw IncompatibleClassChangeError exception if an inline type implements java.lang.IdentityObject, or if any of its super interfaces extend java.lang.IdentityObject.

      3. Throw IncompatibleClassChangeError exception if an identity type implements java.lang.InlineObject, or if any of its super interfaces extend java.lang.InlineObject.

      4. Do not throw an exception if an identity object does not implement java.lang.IdentityObject.

      5. Throw IncompatibleClassChangeError if a class or interface implements both java.lang.InlineObject and java.lang.IdentityObject

            hseigel Harold Seigel (Inactive)
            hseigel Harold Seigel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: