Hi,

I posted this some time ago, but I think it may have been forgotten.
This fixes a small problem in OpenConverter, which can't be compiled
using the Eclipse compiler. Infact, the code is not valid Java and is
only accepted by javac due to a bug in javac:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6400189

It would be nice to have this patch integrated.

Cheers, Roman

-- 
Dipl.-Inform. (FH) Roman Kennke, Software Engineer, http://kennke.org
aicas Allerton Interworks Computer Automated Systems GmbH
Haid-und-Neu-Straße 18 * D-76131 Karlsruhe * Germany
http://www.aicas.com   * Tel: +49-721-663 968-0
USt-Id: DE216375633, Handelsregister HRB 109481, AG Karlsruhe
Geschäftsführer: Dr. James J. Hunt
diff -r 37a05a11f281 -r 2b6c2ce8cd88 src/share/classes/com/sun/jmx/mbeanserver/OpenConverter.java
--- a/src/share/classes/com/sun/jmx/mbeanserver/OpenConverter.java      Sat Dec 01 00:00:00 2007 +0000
+++ b/src/share/classes/com/sun/jmx/mbeanserver/OpenConverter.java      Tue Dec 18 15:30:58 2007 +0100
@@ -1152,7 +1152,7 @@ public abstract class OpenConverter {
             // Also remember the set of properties in that constructor
             // so we can test unambiguity.
             Set<BitSet> getterIndexSets = newSet();
-            for (Constructor constr : annotatedConstrList) {
+            for (Constructor<?> constr : annotatedConstrList) {
                 String[] propertyNames =
                     constr.getAnnotation(propertyNamesClass).value();
 

Reply via email to