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

[lworld] Withdraw support for @java.lang.ValueBased

    XMLWordPrintable

    Details

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

      Description

      Various experimental support has been added for value based classes in Valhalla. Quite a bit of these have acquired bit rot as the semantics of value/inline/primitive class types have evolved.

      JEP390 formalizes the notion of value-based classes by introducing a JDK internal annotation @jdk.internal.ValueBased and requiring javac and JVM to implement various static and dynamic checks on such annotated types to mitigate/eliminate the migration pain when these classes eventually evolve to be primitive class types. This is work in progress on jep390 branch of Valhalla which would eventually make it to JDK16 and will be merged into Valhalla/lworld from jdk mainline.

      All support that exists in Valhalla/lworld as of today should be withdrawn.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: