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

Create version constants to model preview language and vm features

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P3 P3
    • 26
    • 24
    • core-libs
    • None

      For both javax.lang.model.SourceVersion and java.lang.reflect.ClassFileFormatVersion, there is a need to represent the preview features when we query the version-specific methods.

      While currently, there is no preview feature that cause such queries to differ from the latest version, when project valhalla delivers Value Classes (Preview) JEP, we anticipate to see a spike in such demands. As a result, we should prepare such an infrastructure before it arrives.

            liach Chen Liang
            liach Chen Liang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: