JDK-6324451 : JavaCompilerTool.run() contains superfluous statement about returned value
Type:Bug
Component:tools
Sub-Component:javac
Affected Version:6
Priority:P2
Status:Closed
Resolution:Duplicate
OS:generic
CPU:generic
Submitted:2005-09-15
Updated:2017-05-19
Resolved:2005-12-06
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.
Description of both methods JavaCompilerTool.run() contains superfluous statement: By convention a tool returns 0 for success and nonzero for errors. In fact both methods dosn't return int value. So the statement above misleads.
Comments
EVALUATION
A leftover from a previous version of the API, should be removed.