Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Oct 1999 14:07:06 -0600
From:      Nate Williams <nate@mt.sri.com>
To:        Vince Gonzalez <vince@nycrc.net>
Cc:        freebsd-java@FreeBSD.ORG
Subject:   Re: Illegal instruction
Message-ID:  <199910232007.OAA09075@mt.sri.com>
In-Reply-To: <19991023155032.A1350@moe.nycrc.net>
References:  <19991023155032.A1350@moe.nycrc.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> I wrote some code like this:
> 
> public class MyPanel extends JPanel {
> 	public Component add(Component c) {
> 		doSomeStuff();
> 		return add(c); // This is incorrect on purpose
> 	}
> }
> 
> I know the line I've commented is incorrect (it should say super.add(c)).  
> When this code is run, java_X bombs out with SIGILL and dumps core.

Hmm, it shouldn't SIGILL, but is should recognize this.

Can you produce a very small application that does this?

> {13}{vince@moe}$ java -version
> java_X version "1.1.8"

How about java -fullversion?

Thanks!


Nate


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910232007.OAA09075>