Mauve harness failure on s390

Ulrich Weigand weigand@immd1.informatik.uni-erlangen.de
Fri Jan 31 01:45:00 GMT 2003


Hello,
I've finally gotten around to trying Mauve on s390, but I'm 
running into problems right from the start ;-)
The problem is that compiling the test harness will generate
compiler warnings that cause the test suite run to be aborted.
Specifically, I am seeing this:
gnu/testlet/SimpleTestHarness.java: In class `gnu.testlet.SimpleTestHarness':
gnu/testlet/SimpleTestHarness.java: In method `gnu.testlet.SimpleTestHarness.main(java.lang.String[])':
gnu/testlet/SimpleTestHarness.java:309: warning: unreachable bytecode from 115 to before 118
gnu/testlet/SimpleTestHarness.java:326: warning: unreachable bytecode from 202 to before 205
The source code in question (Mauve CVS as of today) has these constructs:
 catch (Exception x)
 {
 throw new RuntimeException ("Missing file path after '-file'. Exit");
 }
and 
 catch (FileNotFoundException x)
 {
 throw new RuntimeException ("Unable to find \""+file+"\". Exit");
 }
If I comment out the two throw statements, the file builds without warning.
Unfortunately, my knowledge of the Java language is quite limited, and
my knowledge of Java bytecodes nonexistent, so I'd appreciate some
help in finding out what's wrong here ...
Thanks,
Ulrich
-- 
 Dr. Ulrich Weigand
 weigand@informatik.uni-erlangen.de


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /