[Bug java/12741] Incompatable Return Type

bryce at mckinlay dot net dot nz gcc-bugzilla@gcc.gnu.org
Fri Oct 24 04:52:00 GMT 2003


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() {}
}



More information about the Gcc-bugs mailing list