This is the mail archive of the java-patches@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: PR 5902: Parse errors


>>>>> "Eric" == Eric Blake <ebb9@email.byu.edu> writes:

Eric> 2002-03-11  Eric Blake  <ebb9@email.byu.edu>
Eric> 	* libjava.compile/PR5902.java: New file.

This is failing, due to a weirdness in the test suite.
`gcj -C' generates dead code, and then `gcj' complains about that.
dejagnu interprets any complaint, even a warning, as a failure.
Bleah.

I think we can work around this by changing the test so that there is
no dead code.


However, looking at it makes me wonder: shouldn't this be an execute
test?  If so, it is in the wrong directory.  It needs to be in
libjava.lang.  Programs in libjava.compile are compiled (and linked
unless told otherwise), but not executed.


Also, ChangeLog entries referencing a PR should say so:

	For PR java/5902:
 	* libjava.compile/PR5902.java: New file.

The cvs commit script knows to look for "PR FOO/NNN" and then submit
the commit message to gnats.  (It doesn't know how to look for files
named after a PR; I think this practice is peculiar to libgcj.)

Tom


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