< prev index next >

src/java.desktop/share/classes/java/beans/PropertyDescriptor.java

Print this page

        

*** 475,485 **** // Fall through } } try { if (ctor == null) { ! editor = cls.newInstance(); } else { editor = ctor.newInstance(new Object[] { bean }); } } catch (Exception ex) { // Fall through --- 475,487 ---- // Fall through } } try { if (ctor == null) { ! @SuppressWarnings("deprecation") ! Object tmp = cls.newInstance(); ! editor = tmp; } else { editor = ctor.newInstance(new Object[] { bean }); } } catch (Exception ex) { // Fall through
< prev index next >