public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* java/1132: protected constructor for InvocationTargetException still visible
@ 2000-12-20 12:07 Tom Tromey
0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2000-12-20 12:07 UTC (permalink / raw)
To: java-gnats
>Number: 1132
>Category: java
>Synopsis: protected constructor for InvocationTargetException still visible
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: tromey
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Dec 20 12:06:27 PST 2000
>Closed-Date: Fri Apr 21 10:33:34 PDT 2000
>Last-Modified: Fri Apr 21 10:40:01 PDT 2000
>Originator: Tom Tromey
>Release: current cvs
>Organization:
>Environment:
>Description:
I'm using the latest cvs gcj and libgcj.
This program should not compile, but it does:
creche. cat ite.java
import java.lang.reflect.*;
public class ite
{
public static void main (String[] args)
{
System.out.println (new InvocationTargetException ());
}
}
creche. gcj -fsyntax-only ite.java
I think it should not compile because the no-arg
constructor for InvocationTargetException is protected.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
Formerly PR gcj/124
Responsible-Changed-From-To: apbianco->tromey
Responsible-Changed-By: tromey
Responsible-Changed-When: Fri Apr 21 10:33:34 2000
Responsible-Changed-Why:
I fixed it.
State-Changed-From-To: open->closed
State-Changed-By: tromey
State-Changed-When: Fri Apr 21 10:33:34 2000
State-Changed-Why:
Fixed.
From: tromey@cygnus.com
To: apbianco@cygnus.com, java-gnats@sourceware.cygnus.com, tromey@cygnus.com
Cc:
Subject: Re: gcj/124
Date: 21 Apr 2000 17:33:35 -0000
Synopsis: protected constructor for InvocationTargetException still visible
Responsible-Changed-From-To: apbianco->tromey
Responsible-Changed-By: tromey
Responsible-Changed-When: Fri Apr 21 10:33:34 2000
Responsible-Changed-Why:
I fixed it.
State-Changed-From-To: open->closed
State-Changed-By: tromey
State-Changed-When: Fri Apr 21 10:33:34 2000
State-Changed-Why:
Fixed.
http://sourceware.cygnus.com/cgi-bin/gnatsweb.pl?cmd=view&pr=124&database=java
>Unformatted:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-12-20 12:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-20 12:07 java/1132: protected constructor for InvocationTargetException still visible Tom Tromey
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).