Hello,
I've just upgraded to a new version of eclipse (Helios) and now i get a compilation error in jnag-jse project in JnagSession interface and JnagSessionImpl
[code]
public <T extends Singleton & Remote> T createProxy(Class<T> remoteInterface);
public <T extends BindToLocalId & Remote> T createProxy(Class<T> remoteInterface);
[/code]
Error: Method createProxy(Class<T>) has the same erasure createProxy(Class<T>) as another method in type JnagSession
From what i've read the signature is the same cause return type is not part of the signature. The fact that it compiles well is known by sun and seems to be fixed in version java 7 b55 compiler. The eclipse team anticipated this change in Helios
Jnag rds is not impacted cause it uses different method names for binding
[url]http://bugs.sun.com/view_bug.do?bug_id=6182950
[/url]
[url]http://forums.sun.com/thread.jspa?threadID=5416081
[/url]
@#$%@#$: This "bug" was pretty useful to me. If a bug is useful, why do they fix it ?
I will change the names of the 2 methods.