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

Implement temporary alternative IDE-compatible annotation for "value" keyword

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • repo-valhalla
    • repo-valhalla
    • tools

      Early experimenters with with value types are finding
      that the "codes like a class" aspect works well.

      One difficulty is that the "value" keyword confuses
      IDEs and editors.

      If the javac parser were to accept "@__value__"
      as a *temporary* alias for the "value" quasi-keyword,
      IDE and editors would be able to process the syntax
      more easily.

      It's a shallow change, and one we'd want to remove
      as IDEs adopt the "value" keyword, but it might help
      reduce friction for early experimenters.

            sadayapalam Srikanth Adayapalam (Inactive)
            jrose John Rose
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: