Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8203252 JEP 334: JVM Constants API
  3. JDK-8202030

Nominal descriptor types in java.lang.invoke.constant

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
      None

      Description

      As described in http://cr.openjdk.java.net/~briangoetz/amber/constables.html, provide a family of types to model nominal descriptions of classes, method handles, and other runtime or classfile entities, and retrofit them into core classes such as String and Class. These will live in the new package `java.lang.invoke.constant`.

      This issue tracks the base abstractions `ConstantDesc` and `Constable`, and their subtypes. Bytecode APIs and bootstrap methods can use `ConstantDesc` to describe constants; compilers can use `Constable` as part of intrinsification and constant folding. Compiler and language support is part of a separate task.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              briangoetz Brian Goetz
              Reporter:
              briangoetz Brian Goetz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: