Details
-
Bug
-
Status: Open
-
Trivial
-
Resolution: Unresolved
-
None
-
None
-
None
-
Linux
Description
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.