Created
November 21, 2013 14:55
-
-
Save barik/7582978 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NameClashSameErasureNoOverride1.java:37: error: name clash: m(Integer) in NameClashSameErasureNoOverride1.B overrides a | |
method whose erasure is the same as another method, yet neither overrides the other | |
public void m(Integer l) {} | |
^ | |
first method: m(Object) in NameClashSameErasureNoOverride1.A | |
second method: m(X) in I | |
where X is a type-variable: | |
X extends Object declared in interface I | |
1 error |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment