public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/13098] New: accepts invalid code referencing package only constructor
@ 2003-11-18  5:50 pinskia at gcc dot gnu dot org
  2003-11-18  9:41 ` [Bug java/13098] " s28patel at student dot math dot uwaterloo dot ca
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-18  5:50 UTC (permalink / raw)
  To: gcc-bugs

try to compile this, gcj should reject this.
t/t.java:
package t;
public class t
{
t(){}
}
test.java:
import t.t;
class test {
    public static void main(String argv[]) {
        t b = new t();
    }
}

-- 
           Summary: accepts invalid code referencing package only
                    constructor
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Keywords: accepts-invalid
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org,s28patel at student dot
                    math dot uwaterloo dot ca


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13098


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-04-27  9:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-18  5:50 [Bug java/13098] New: accepts invalid code referencing package only constructor pinskia at gcc dot gnu dot org
2003-11-18  9:41 ` [Bug java/13098] " s28patel at student dot math dot uwaterloo dot ca
2003-12-27 17:35 ` pinskia at gcc dot gnu dot org
2003-12-28  0:20 ` pinskia at gcc dot gnu dot org
2004-04-27  9:21 ` rmathew at gcc dot gnu dot org

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).