This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Mauve harness failure on s390
- From: Ulrich Weigand <weigand at immd1 dot informatik dot uni-erlangen dot de>
- To: java at gcc dot gnu dot org
- Date: Fri, 31 Jan 2003 02:45:33 +0100 (MET)
- Subject: Mauve harness failure on s390
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