--- old/src/java.desktop/share/classes/java/beans/PropertyDescriptor.java 2016-11-07 10:47:21.643786435 -0800 +++ new/src/java.desktop/share/classes/java/beans/PropertyDescriptor.java 2016-11-07 10:47:21.479786436 -0800 @@ -470,14 +470,14 @@ Constructor ctor = null; if (bean != null) { try { - ctor = cls.getConstructor(new Class[] { Object.class }); + ctor = cls.getDeclaredConstructor(new Class[] { Object.class }); } catch (Exception ex) { // Fall through } } try { if (ctor == null) { - editor = cls.newInstance(); + editor = cls.getDeclaredConstructor().newInstance(); } else { editor = ctor.newInstance(new Object[] { bean }); }