public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug java/11075] Compiling cross-package inherited constants are rejected Date: Sat, 22 May 2004 03:31:00 -0000 [thread overview] Message-ID: <20040521024308.19560.qmail@sourceware.org> (raw) In-Reply-To: <20030603084231.11075.robin.garner@crsrehab.gov.au> ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-21 02:43 ------- The ICE is gone on the mainline but it is rejected unless you compile P/a.java and P/ b.java to *.class files. ./P/b.java:3: error: Can't access class `P.a'. Only public classes and interfaces in other packages can be accessed. public interface b { static int B = a.A; } ^ ./P/b.java:3: error: Can't access package-private field `P.a.A' from `Q.c'. public interface b { static int B = a.A; } ^ 2 errors -- What |Removed |Added ---------------------------------------------------------------------------- Keywords|ice-on-valid-code |rejects-valid Last reconfirmed|2003-08-03 21:12:54 |2004-05-21 02:43:07 date| | Summary|ICE compiling cross-package |Compiling cross-package |inherited constants |inherited constants are | |rejected Target Milestone|--- |3.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11075
next prev parent reply other threads:[~2004-05-21 2:43 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-06-03 8:42 [Bug java/11075] New: ICE compiling cross-package inherited constants robin.garner@crsrehab.gov.au 2003-06-03 8:48 ` [Bug java/11075] " robin.garner@crsrehab.gov.au 2003-06-03 12:21 ` pinskia@physics.uc.edu 2003-07-05 3:18 ` pinskia at physics dot uc dot edu 2003-08-23 1:53 ` dhazeghi at yahoo dot com 2004-01-08 8:34 ` pinskia at gcc dot gnu dot org 2004-05-22 3:31 ` pinskia at gcc dot gnu dot org [this message] 2004-05-24 13:06 ` [Bug java/11075] Compiling cross-package inherited constants are rejected pinskia at gcc dot gnu dot org [not found] <bug-11075-6205@http.gcc.gnu.org/bugzilla/> 2007-01-09 20:48 ` tromey at gcc dot gnu dot org
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=20040521024308.19560.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /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: linkBe 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).