Interesting results...
Andrew Dalgleish
kaffe@rufus.w3.org
Sat, 23 Mar 2002 10:26:37 +1100
On Fri, Mar 22, 2002 at 01:17:24PM -0700, Patrick Tullmann wrote:
> Just a suggestion: could someone strip wc.java down to a testcase that
> causes this problem and (assuming its really a compiler problem),
> name the testcase BrokenCompilerCheck.java or something? Put it early
> in the test run, too.
>
> That will make diagnosing failures much easier in the future.
Once you start down that road, where do you stop?
Should Kaffe's make check include a full test suit for all compilers?
OpenBSD-current, jikes 1.15, kaffe from CVS
I reduced wc.java to this:
import java.io.*;
public class wc {
public static void main(String av[]) {
InputStreamReader isr = new InputStreamReader(null);
StreamTokenizer s = new StreamTokenizer(isr);
}
}
/* Expected Output:
*/
configure, rebuild Klasses.jar, make, make check
I get this in wc.fail:
java.lang.VerifyError: at pc 5 sp 7 not in range [4, 6]
at java.io.PushbackReader.<init>(PushbackReader.java:32)
at java.io.StreamTokenizer.<init>(StreamTokenizer.java:50)
at wc.main(wc.java:5)
If I remove the blank line in the 'Expected Output' comment I don't
get any error.