@@ -475,11 +475,13 @@ // Fall through } } try { if (ctor == null) { - editor = cls.newInstance(); + @SuppressWarnings("deprecation") + Object tmp = cls.newInstance(); + editor = tmp; } else { editor = ctor.newInstance(new Object[] { bean }); } } catch (Exception ex) { // Fall through