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

rmic should reject class files with preview features enabled

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P2
    • Resolution: Unresolved
    • Affects Version/s: 12
    • Fix Version/s: 13
    • Component/s: core-libs
    • Labels:
      None

      Description

      The "preview" language feature mechanism (see JEP 12) uses a class file minor version number of 65535 to indicate class files that have been compiled with preview features enabled. We have no plans to support preview features in rmic, since it is obsolete and deprecated. Lack of support is documented by JDK-8211068. Logic should be added to rmic that explicitly rejects class files that have been compiled with preview features enabled.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                smarks Stuart Marks
                Reporter:
                smarks Stuart Marks
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: