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

rmic should reject class files with preview features enabled

    XMLWordPrintable

Details

    • b17
    • Not verified

    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

        1. Service.java
          0.2 kB
        2. test.sh
          0.8 kB

        Issue Links

          Activity

            People

              smarks Stuart Marks
              smarks Stuart Marks
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: