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

[lworld] Javac should support class literals for projection types.

XMLWordPrintable

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

      [Much of the initial comments are woefully outdated. Skips to Aug 2020 dates comment for a summary of work left here]

      Moving forward it looks like we want to say "Foo.class" for class constant (ldc Class) in source code. If you want the boxed/value class mirror, you need to use Class.asBoxType()/asValueType() methods.

      "Foo.val" and "Foo.box" are still valid as type tokens, "Foo.box f;"

      We can defer this until we confirm newer syntax (Foo? etc).

            sadayapalam Srikanth Adayapalam (Inactive)
            dsimms David Simms
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: