review request (S): 7199082 write warning messages to stderr

David Holmes david.holmes at oracle.com
Tue Sep 18 18:25:13 PDT 2012


Hi John,

On 19/09/2012 4:47 AM, John Coomes wrote:
> Small change to warning() to write to error_stream() instead of tty.
>
> http://cr.openjdk.java.net/~jcoomes/7199082-warn-stderr/

I still think treating warnings differently to other VM output is not 
necessarily the right way to go here.

Further I'm concerned that the real problem here is that we shouldn't be 
issuing warnings for the now obsolete PermGen flags. Whether the warning 
goes to stderr or stdout it is new noise that might impact people's 
development/build environments.

So while this fix will address the immediate javac problem, and can be 
considered Reviewed, I suspect we will have to revisit this.

David

> Bug link:
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7199082
>
> -John


More information about the hotspot-runtime-dev mailing list