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

[lworld] Add parser support for declaration of value classes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • None
    • repo-valhalla
    • tools
    • None
    • generic
    • generic

    Description

      From https://openjdk.java.net/jeps/8277163

      A class can be declared a value class with the value contextual keyword. If a concrete class is declared without the value contextual keyword, it is an identity class.

      ...

      In most other ways, a value class declaration is just like an identity class declaration. It can have superinterfaces, type parameters, enclosing instances, inner classes, overloaded constructors, static members, and the full range of access restrictions on its members.

      Attachments

        Issue Links

          Activity

            People

              sadayapalam Srikanth Adayapalam (Inactive)
              sadayapalam Srikanth Adayapalam (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: