| [#347] | project: compiler | priority: high | category: bug | |
|---|---|---|---|---|
| submitter | assigned to | status | date submitted | |
| Burak | Martin | fixed | 2004-06-28 17:21:48.0 | |
| subject | java interaction, abstract+overload | |||
| code |
// file A.java
package foo;
public abstract class A { public abstract void service(int i);}
// file B.java
package foo;
public abstract class B extends A { // without "abstract" modifier, it's ok
protected void service(char c) {} // without service(char), it works, too
public void service(int i) {}
}
// file C.scala
package foo;
class C extends B {}
|
|||
| what happened | // compiling |
|||
| what expected | silent compilation.
This is extracted from the Java Servlet API v2.4 |
|||
| [back to overview] | ||||
| Burak edited on 2004-06-28 17:22:19.0 |
| Martin edited on 2004-06-29 18:11:56.0 |