-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
7.0.1
-
None
-
Java 1.7.0_51, OS name: "linux", version: "3.2.0-58-generic", arch: "amd64", family: "unix"
Hello i'm testing 7.0.1.FL.20140205, and i'm unable to compile a class that overrides BindComposer, the offending method is:
@Override
public void doBeforeComposeChildren(Window comp) throws Exception
Where T is Window
Problem:
error: name clash: doBeforeComposeChildren(Window) in KLearningDesktop overrides a method whose erasure is the same as another method, yet neither overrides the other
BindComposer is defined:
public void doBeforeComposeChildren(Component comp) throws Exception
I think that it needs to be:
public void doBeforeComposeChildren(T comp) throws Exception
Like the:
public void doAfterCompose(T comp) throws Exception
Which i can override without a problem
This it's very weird problem, eclipse kepler compiles just fine and so does java 1.7.0_04
But the last one java, 1.7.0_51 does not!