Okay,

'make check' comes up with the following for each test.

        FAIL: ReflectInterfaces.java
        error compiling:
        Internal error: caught an unexpected exception.
        Please check your CLASSPATH and your installation.
        java/lang/NullPointerException
        Aborted

Is it work trying again with with intrp or jit?

Regards,

Matthew

Kevin D. Kissell wrote:
By a coincidence, I've re-opened Kaffe after working on other
stuff for the last several months, with the intention of trying to
get to the bottom of the remaining JIT problems.  So maybe,
*maybe*, I can investigate this problem further, but please
note that I'm much more a machine-code-and-OS kind of
guy than a JVM guru, so I'm certainly not the best person
to determine why a Java exception handler isn't being bound
correctly.

Matthew, you *did* explicitly configure your MIPS kaffe
to run interpreted, I hope?  The patched 1.0.7 will build
with jit3 by default, and it *mostly* works, but does fail
some half-dozen or so regression tests.  Interestingly,
neither the intrp nor the jit3 versions fail the NullPointer
regression test, which covers more-or-less the case
being described here.  So, Matthew, can you confirm
that you can run the regressions ("make check") and
that they all pass, particularly the NullPointer test?
If you modify your test program to look more like
the NullPointer.java regression test, does it still fail?

Regards,

Kevin K.

----- Original Message ----- From: "Dalibor Topic" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Matthew Tippett"
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 11:53 AM
Subject: Re: [kaffe] Bug Report: accessing array doesn't throw
NullPointerException under MIPS



Hi Kevin,

could you take a look at it?

cheers,
dalibor topic

--- Matthew Tippett <[EMAIL PROTECTED]>
wrote:

The quote code below has differing behaviour under a
MIPS (Little Endian) and an intel box, both running debian.


Both are against 1.0.7, but the MIPS platform has
had the following patch applied (which allowed it to work).




ftp://ftp.paralogos.com/pub/kaffe/mips/kaffe-1.0.7.patch_kevink_021001


public class Hello {
   public static void main(String arv[]) {
      int[][] test    = new int[1][];
      try {
         System.out.println("Getting test[0][0]");
         System.out.println("Got "+test[0][0]);
      } catch (NullPointerException e) {
         System.out.println("Caught Null POinter
Exception!");
      }
   }
}

The intel box does as expected ...

Getting test[0][0]
Caught Null POinter Exception!

But the MIPS box does

Getting test[0][0]
Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
java/lang/NullPointerException
Aborted

The java code we can work around (the code is
questionable but in the Xerces java library.


Looking forward to working through this problem.

Regards,

Matthew
--
Matthew Tippett - [EMAIL PROTECTED] -
(416) 435-4118
http://www.technology-forum.org/ -
http://www.commercialos.org/
Know your self, and know others; Sun Tzu - Art of
War


_______________________________________________ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

_______________________________________________
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe



_______________________________________________
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


-- Matthew Tippett - [EMAIL PROTECTED] - (647) 439 0102 x4117 Platform/Software Engineer - Casero Inc Know yourself, know others; Art of War - Sun Tzu


-----


The information contained in this message is proprietary of Casero Inc.,
protected from disclosure, and may be privileged. The information is
intended to be conveyed only to the designated recipient(s) of the
message. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, use, distribution or
copying of this communication is strictly prohibited and may be
unlawful. If you have received this communication in error, please
notify us immediately by replying to the message and deleting it from
your computer. Thank you.


_______________________________________________ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to