[Fwd: Fix compiler problem]

2007-12-19 Thread Alan Bateman
I don't know if the JMX team or the JavaBeans maintainers are on the core-libs-dev mailing list. --- Begin Message --- When trying to compile OpenJDK with the Eclipse compiler, I noticed two compiler errors related to generics. It turned out that the code there is invalid and only javac (inco

Re: jmx-dev [Fwd: Fix compiler problem]

2007-12-19 Thread Eamonn McManus
Thanks for bringing this to our attention, Alan. Roman is right - the code in question should not compile and we should change it as he suggests so that it is correct. (For people interested in the gory details, the method T getAnnotation(Class annotationClass) returns T only if it is called

Re: jmx-dev [Fwd: Fix compiler problem]

2007-12-19 Thread Sergey Malenkov
Hi, Thank you for explanation. I'll fix it soon. Thanks, SAM Eamonn McManus wrote: Thanks for bringing this to our attention, Alan. Roman is right - the code in question should not compile and we should change it as he suggests so that it is correct. (For people interested in the gory detai