Issue Details (XML | Word | Printable)

Key: HARMONY-6079
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Tim Ellison
Reporter: Mark Hindess
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Harmony

[jdktools] javac should exit with error code non-zero on compile errors

Created: 29/Jan/09 01:44 PM   Updated: 09/Feb/09 10:41 AM
Return to search
Component/s: JDK
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Resolution Date: 04/Feb/09 01:02 PM


 Description  « Hide
javac currently always exits with error code zero even if there are compile errors. Sun javac exits with non-zero error code which is useful when javac is used from scripts and Makefiles. I think we should adopt Sun javac behaviour.


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #740696 Wed Feb 04 10:58:34 UTC 2009 tellison Fix HARMONY-6079 ([jdktools] javac should exit with error code non-zero on compile errors)
Files Changed
MODIFY /harmony/enhanced/jdktools/trunk/modules/jdktools/src/main/java/org/apache/harmony/tools/javac/Main.java

Repository Revision Date User Message
ASF #740721 Wed Feb 04 12:56:20 UTC 2009 tellison Update Sun compatibility class in line with changes made for
HARMONY-6079 ([jdktools] javac should exit with error code non-zero on compile errors)
Files Changed
MODIFY /harmony/enhanced/jdktools/trunk/modules/jdktools/src/main/java/com/sun/tools/javac/Main.java