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

[lworld] Runtime should automagically have primitive classes implement PrimitiveObject

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: repo-valhalla
    • Fix Version/s: repo-valhalla
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      Through JDK-8261782, javac has added support for PrimitiveObject top type during compile time.

      The specification is available here:
      https://openjdk.java.net/jeps/8251554

      This ticket is for VM/runtime to implicitly have primitive classes implement PrimitiveObject interface.

      Please note: when such support is added, the langtools test:
      test/langtools/tools/javac/valhalla/lworld-values/InstanceOfTopTypeTest.java

      will start failing. Suitable amend the test.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dsimms David Simms
              Reporter:
              sadayapalam Srikanth Adayapalam
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: