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

javac should be able to warn of anomalous conditions in classfiles

    XMLWordPrintable

Details

    • b123
    • generic, x86
    • generic, linux
    • Verified

    Description

      6966357 changed javac to only accept classfile attributes defined for the version of the containing class file. This has been seen as a problem/regression by some folk who have been using v49 attributes in v48 classfiles and expecting them to work.

      To cover this situation and any related issues that may arise, it is proposed to add a new -Xlint suboption to control all warnings that javac may generate related to anomalous conditions in the class files that it reads.

      Attachments

        Issue Links

          Activity

            People

              jjg Jonathan Gibbons
              jjg Jonathan Gibbons
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: