From: Bryce McKinlay <bryce@albatross.co.nz>
To: Andrew Haley <aph@pasanda.cygnus.co.uk>,
rolfwr@ii.uib.no, java-discuss@sourceware.cygnus.com,
java-gnats@sourceware.cygnus.com
Subject: Re: PR libgcj/184 [was Re: Re: Some null pointer method invocations causes segmentation fault]
Date: Thu, 30 Mar 2000 03:06:00 -0000 [thread overview]
Message-ID: <38E28C64.30A54292@albatross.co.nz> (raw)
In-Reply-To: <38E17616.538EA0C0@albatross.co.nz>
Bryce McKinlay wrote:
> public class NPE1
> {
> public static void main(String[] args)
> {
> NPE1 n = null;
> System.out.println (n.foo());
> }
>
> int x = 2;
>
> final int foo()
> {
> return x;
> }
> }
Update: I tried this on gcc-2.95.2 + java patches, and it worked fine using the
same libgcj. I think it is a compiler or libgcc bug.
regards
[ bryce ]
WARNING: multiple messages have this Message-ID
From: Bryce McKinlay <bryce@albatross.co.nz>
To: Andrew Haley <aph@pasanda.cygnus.co.uk>,
rolfwr@ii.uib.no, java-discuss@sourceware.cygnus.com,
java-gnats@sourceware.cygnus.com
Subject: Re: PR libgcj/184 [was Re: Re: Some null pointer method invocations causes segmentation fault]
Date: Sat, 01 Apr 2000 00:00:00 -0000 [thread overview]
Message-ID: <38E28C64.30A54292@albatross.co.nz> (raw)
Message-ID: <20000401000000.YIZOeCl8nGk5FGSbHrah6z7jBjsRs-5NTXxF27O7NZQ@z> (raw)
In-Reply-To: <38E17616.538EA0C0@albatross.co.nz>
Bryce McKinlay wrote:
> public class NPE1
> {
> public static void main(String[] args)
> {
> NPE1 n = null;
> System.out.println (n.foo());
> }
>
> int x = 2;
>
> final int foo()
> {
> return x;
> }
> }
Update: I tried this on gcc-2.95.2 + java patches, and it worked fine using the
same libgcj. I think it is a compiler or libgcc bug.
regards
[ bryce ]
next prev parent reply other threads:[~2000-03-30 3:06 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-03-27 14:52 Some null pointer method invocations causes segmentation fault Rolf W. Rasmussen
2000-03-27 16:21 ` Bryce McKinlay
2000-03-28 1:00 ` Andrew Haley
2000-03-28 19:14 ` PR libgcj/184 [was Re: Re: Some null pointer method invocations causes segmentation fault] Bryce McKinlay
2000-03-30 3:06 ` Bryce McKinlay [this message]
2000-04-01 0:00 ` Bryce McKinlay
2000-04-01 0:00 ` Bryce McKinlay
2000-04-01 0:00 ` Some null pointer method invocations causes segmentation fault Andrew Haley
2000-04-01 0:00 ` Bryce McKinlay
2000-04-01 0:00 ` Rolf W. Rasmussen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=38E28C64.30A54292@albatross.co.nz \
--to=bryce@albatross.co.nz \
--cc=aph@pasanda.cygnus.co.uk \
--cc=java-discuss@sourceware.cygnus.com \
--cc=java-gnats@sourceware.cygnus.com \
--cc=rolfwr@ii.uib.no \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).