[Bug java/12893] The included test case does not link
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Nov 9 19:09:00 GMT 2003
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-11-09 19:09 -------
The code does excatlly what I said it did.
GCJ should have rejected this code when compiling to *.class like javac does:
D.java:13: abstract method f() cannot be accessed directly
void f(){super.f();}
^
1 error
Simplified version:
class A
{
void f(){}
}
abstract class B extends A
{
abstract void f();
}
class C extends B
{
void f(){super.f();}
}
Can you report my findings to classpath for this module?
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
Ever Confirmed| |1
Keywords| |accepts-invalid
Last reconfirmed|0000-00-00 00:00:00 |2003-11-09 19:09:22
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12893
More information about the Gcc-bugs
mailing list