java/1235: Method call on null instance should throw NullPointerException
green@cygnus.com
green@cygnus.com
Wed Dec 20 12:22:00 GMT 2000
>Number: 1235
>Category: java
>Synopsis: Method call on null instance should throw NullPointerException
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: tromey
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Dec 20 12:18:04 PST 2000
>Closed-Date: Fri Apr 28 08:42:29 PDT 2000
>Last-Modified: Fri Apr 28 10:30:01 PDT 2000
>Originator: Bryce McKinlay
>Release: Trunk
>Organization:
>Environment:
>Description:
The testcase libjava/testsuite/libjava.lang/Final.java
demonstrates the problem.
>How-To-Repeat:
Run libjava/testsuite/libjava.lang/Final.java.
>Fix:
>Release-Note:
>Audit-Trail:
Formerly PR gcj/2
Responsible-Changed-From-To: gnats-admin->green
Responsible-Changed-By: green
Responsible-Changed-When: Mon Jul 5 22:49:06 1999
Responsible-Changed-Why:
This is a compiler problem.
Responsible-Changed-From-To: green->java-hacker
Responsible-Changed-By: green
Responsible-Changed-When: Mon Jul 5 22:51:29 1999
Responsible-Changed-Why:
This is a problem for a java hacker.
From: tromey@sourceware.cygnus.com
To: java-gnats@sourceware.cygnus.com
Cc:
Subject: gcj/2
Date: 27 Apr 2000 23:13:32 -0000
CVSROOT: /cvs/java
Module name: libgcj
Changes by: tromey@sourceware.cygnus.com 00/04/27 16:13:31
Modified files:
libjava : ChangeLog prims.cc
libjava/include: jvm.h
Log message:
Runtime support for PR gcj/2:
* prims.cc (_Jv_ThrowNullPointerException): New function.
* include/jvm.h (_Jv_ThrowNullPointerException): Declare.
Patches:
http://gcc.gnu.org/cgi-bin/gcc/libjava/ChangeLog.diff?cvsroot=java&r1=1.360&r2=1.361
http://gcc.gnu.org/cgi-bin/gcc/libjava/prims.cc.diff?cvsroot=java&r1=1.27&r2=1.28
http://gcc.gnu.org/cgi-bin/gcc/libjava/include/jvm.h.diff?cvsroot=java&r1=1.23&r2=1.24
Responsible-Changed-From-To: java-hacker->tromey
Responsible-Changed-By: tromey
Responsible-Changed-When: Thu Apr 27 17:12:12 2000
Responsible-Changed-Why:
I fixed it.
State-Changed-From-To: open->feedback
State-Changed-By: tromey
State-Changed-When: Thu Apr 27 17:12:12 2000
State-Changed-Why:
I have a patch for this which I'll check in shortly.
Please give it a try & get back to me.
From: tromey@cygnus.com
To: green@cygnus.com, java-gnats@sourceware.cygnus.com, tromey@cygnus.com
Cc:
Subject: Re: gcj/2
Date: 28 Apr 2000 00:12:12 -0000
Synopsis: Method call on null instance should throw NullPointerException
Responsible-Changed-From-To: java-hacker->tromey
Responsible-Changed-By: tromey
Responsible-Changed-When: Thu Apr 27 17:12:12 2000
Responsible-Changed-Why:
I fixed it.
State-Changed-From-To: open->feedback
State-Changed-By: tromey
State-Changed-When: Thu Apr 27 17:12:12 2000
State-Changed-Why:
I have a patch for this which I'll check in shortly.
Please give it a try & get back to me.
http://sourceware.cygnus.com/cgi-bin/gnatsweb.pl?cmd=view&pr=2&database=java
State-Changed-From-To: feedback->closed
State-Changed-By: tromey
State-Changed-When: Fri Apr 28 08:42:29 2000
State-Changed-Why:
Bryce ok'd it.
From: tromey@cygnus.com
To: green@cygnus.com, java-gnats@sourceware.cygnus.com, tromey@cygnus.com
Cc:
Subject: Re: gcj/2
Date: 28 Apr 2000 15:42:29 -0000
Synopsis: Method call on null instance should throw NullPointerException
State-Changed-From-To: feedback->closed
State-Changed-By: tromey
State-Changed-When: Fri Apr 28 08:42:29 2000
State-Changed-Why:
Bryce ok'd it.
http://sourceware.cygnus.com/cgi-bin/gnatsweb.pl?cmd=view&pr=2&database=java
From: Alexandre Petit-Bianco <apbianco@cygnus.com>
To: java-gnats@sourceware.cygnus.com
Cc:
Subject: Re: gcj/2
Date: Fri, 28 Apr 2000 10:22:18 -0700 (PDT)
tromey@cygnus.com writes:
> State-Changed-From-To: feedback->closed
Here goes our oldest PR. Thanks Tom!
./A
>Unformatted:
More information about the Gcc-prs
mailing list