This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/12741] Incompatable Return Type
- From: "bryce at mckinlay dot net dot nz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Oct 2003 02:03:33 -0000
- Subject: [Bug java/12741] Incompatable Return Type
- References: <20031023093215.12741.wcrisman@softwarezealot.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12741
bryce at mckinlay dot net dot nz changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-10-24 02:03:29
date| |
------- Additional Comments From bryce at mckinlay dot net dot nz 2003-10-24 02:03 -------
Confirmed on mainline/linux.
The test-case isn't quite right however, here's a correct one:
package com.test;
public class A
{
Object myMethod() {return null;}
}
package com.test.sub;
import com.test.*;
public class B extends A
{
void myMethod() {}
}