How to xfail a libjava test?

Richard Earnshaw rearnsha@arm.com
Mon Sep 23 09:08:00 GMT 2002


Looking at one of the libjava failures on an embedded arm-elf platform for 
Array_3.java the compiled test is failing because it fails to take a NULL 
pointer exception.   The compiled code simply contains instructions that 
load from the first page of memory, and since we have no MMU that is 
always going to succeed.  Is there any way to XFAIL this test?  Or should 
the java compiler be more defensive when compiling code for this sort of 
target, eg by checking all pointers for NULL explicitly?

R.



More information about the Java mailing list