harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hindess (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-6078) [jdktools] javac doesn't ouput newline after error/warning output
Date Thu, 29 Jan 2009 13:42:59 GMT
[jdktools] javac doesn't ouput newline after error/warning output

                 Key: HARMONY-6078
                 URL: https://issues.apache.org/jira/browse/HARMONY-6078
             Project: Harmony
          Issue Type: Bug
          Components: JDK
         Environment: Linux
            Reporter: Mark Hindess
            Priority: Trivial

When the output from javac includes errors/warnings, javac should output a final newline.
 Currently, the output looks like:

bash$ javac HelloWorld.java
1. ERROR in HelloWorld.java (at line 1)
        ublic class HelloWorld {
Syntax error on token "ublic", public expected
1 problem (1 error)bash$

with your prompt getting appended to the error/warning summary line.

A quick fix would be to just output a trailing newline at exit in all cases but that would
output a blank line in the case where there are no errors/warnings which sun javac does not.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message