This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

How to xfail a libjava test?


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]