PATCH: GCC 3.2 suddenly fails every java test, CLASSPATH wrong
Tom Tromey
tromey@redhat.com
Fri Aug 16 10:11:00 GMT 2002
>>>>> "H.J." == H J Lu <hjl@lucon.org> writes:
H.J.> "make install" shouldn't be required. It is a bug.
I agree.
- # Determine the version so we can find the libgcj jar file.
- set text [eval exec "$GCJ_UNDER_TEST --version 2>@ stdout"]
- regexp -- "gcj \[^ \]+ (\[^ \]+) .*" $text ignore gcc_version
- verbose "jar file is libgcj-$gcc_version.jar"
+ # Find the libgcj jar file.
+ set libgcj_jar [eval exec "find $objdir/../ -name \"libgcj-*.jar\" 2>@ stdout"]
+ verbose "jar file is $libgcj_jar"
I don't really like this hunk. I'd rather we not use `find' in the
test suite.
What is the problem here? Why doesn't the existing code work?
If it can't be made to work (I'd like to understand why first), let's
use the Tcl glob command instead of `exec find'.
Tom
More information about the Java
mailing list