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

JSR 269: Add ProcessingEnvironment.getSourceVersion

XMLWordPrintable

      JSR 269 includes a getSupportedSourceVersion method on the Processor interface to allow the processor to declare to the tool the latest source level it supports. This implies a processor should accept inputs from earlier source levels too. However, if an earlier source level is in effect, a processor should be able to query what the *output* source level is so it can raise an error or output appropriate source and/or class files.

            darcy Joe Darcy
            darcy Joe Darcy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: