Testsuite patch

Andrew Haley aph@redhat.com
Fri Oct 24 18:39:00 GMT 2003


Tom Tromey writes:
 > Andrew> Oh, and another thing: the ouput of the byte compiler seems to be sent
 > Andrew> to /dev/null.  This isn't right, surely?
 > 
 > Probably not.  Do we do this explicitly?

We do this

    if {[catch {
	set q [eval exec "$javac [list $file] -d $objdir 2>@ stdout"]
    } msg]} then {
	verbose "couldn't compile $file: $msg"

so compile failures only go into the log if verbose is set.

This looks deliberate, but it is a weird thing to do.  I don't know
why we don't just send all byte compiler ouput to the log.

Andrew.



More information about the Java mailing list