Re: [PATCH] vm: only throw NullPointerException on exactly-NULL pointers

2009-07-21 Thread Pekka Enberg
applied -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to

Re: [PATCH] vm: only throw NullPointerException on exactly-NULL pointers

2009-07-21 Thread Pekka Enberg
Not applied, breaks "make regression". -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM

Re: [PATCH] vm: only throw NullPointerException on exactly-NULL pointers

2009-07-20 Thread Tomek Grabiec
2009/7/20 Vegard Nossum : > We cannot rely on arrays and fields to be smaller than a page in size > for this test to work, i.e. > >        byte[] a = null; >        a[4096] = ...; > > must still throw NullPointerException. > > Signed-off-by: Vegard Nossum > --- >  include/vm/object.h |    7 ++

[PATCH] vm: only throw NullPointerException on exactly-NULL pointers

2009-07-20 Thread Vegard Nossum
We cannot rely on arrays and fields to be smaller than a page in size for this test to work, i.e. byte[] a = null; a[4096] = ...; must still throw NullPointerException. Signed-off-by: Vegard Nossum --- include/vm/object.h |7 ++- vm/signal.c |2 +- 2 files c