JDK-7096204 : remove obsolete 308 reference
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 7
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2011-09-28
  • Updated: 2013-05-17
  • Resolved: 2013-05-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7 b109Fixed
Related Reports
Relates :  
Description
The following references in JavaCompiler to foundTypeProcessors should be removed. 

       if (procOnly && !foundTypeProcessors) {
            compiler.todo.clear();
        } else {
            if (procOnly && foundTypeProcessors)
                compiler.shouldStopPolicy = CompileState.FLOW;

They are obsolete from the 308 prototype in JDK 7.

Comments
The description is incorrect; the offending lines were in JavacProcessingEnvironment. http://hg.openjdk.java.net/jdk8/jdk8/langtools/file/e9f118c2bd3c/src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java Fixed in revision http://hg.openjdk.java.net/jdk8/jdk8/langtools/rev/6b95dd682538 for JDK-6975005
17-05-2013

EVALUATION See Description.
07-10-2011