You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mark Hindess (JIRA)" <ji...@apache.org> on 2009/01/29 14:42:59 UTC

[jira] Created: (HARMONY-6078) [jdktools] javac doesn't ouput newline after error/warning output

[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.