public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
From: "ovidr at users dot sourceforge dot net" <gcc-bugzilla@gcc.gnu.org> To: java-prs@gcc.gnu.org Subject: [Bug java/14979] New: gcj doesn't handle package private methods with differing return types properly Date: Fri, 16 Apr 2004 17:46:00 -0000 [thread overview] Message-ID: <20040416174634.14979.ovidr@users.sourceforge.net> (raw) one/A.java: --------- package one; public class A { public static void main(String[] s) { System.out.println("I'm a bug"); } boolean test() { return false; } } two/B.java ----- package two; import one.A; public class B extends A { void test () { } } works: javac one\A.java javac two\B.java doesn't work with gcj: gcj -C one\A.java gcj -C two\B.java two\B.java:8: error: Method `one.A.test()' was defined with return type `boolean' in class `one.A'. void test () { ^ 1 error tested on: gcc version 3.4.0 20040316 (prerelease) gcc version 3.5.0 20040414 (experimental) -- Summary: gcj doesn't handle package private methods with differing return types properly Product: gcc Version: 3.4.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ovidr at users dot sourceforge dot net CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14979
next reply other threads:[~2004-04-16 17:46 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-04-16 17:46 ovidr at users dot sourceforge dot net [this message] 2004-04-16 17:51 ` [Bug java/14979] " pinskia at gcc dot gnu dot org 2004-04-17 5:39 ` pinskia at gcc dot gnu dot org 2004-05-05 15:32 ` bryce at mckinlay dot net dot nz 2005-01-08 4:53 ` wasabi at larvalstage dot net 2005-01-08 4:58 ` wasabi at larvalstage dot net
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=20040416174634.14979.ovidr@users.sourceforge.net \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=java-prs@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).