This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Testsuite patch


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]