JDK-6358959 : javax.tools.JavaCompilerTool.run(Writer,JavaFileObject..) is very confusing
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2005-12-05
  • Updated: 2010-04-02
  • Resolved: 2006-02-23
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 6
6Resolved
Related Reports
Duplicate :  
Description
javax.tools.JavaCompilerTool.run(Writer, JavaFileObject) is very confusing. 
Since run method will retun CompilationTask, to compile again it requires one more run method of CompilationTask, like javax.tools.JavaCompilerTool.run(Writer, JavaFileObject).run().

Comments
EVALUATION This should be addressed before shipping Mustang.
06-12-2005

SUGGESTED FIX Instead of javax.tools.JavaCompilerTool.run(Writer, JavaFileObject), the method name can be like makeCompilationTask() .. etc
05-12-2005