--- old/src/java.desktop/share/classes/java/beans/Beans.java 2016-04-27 14:30:45.209154878 -0700 +++ new/src/java.desktop/share/classes/java/beans/Beans.java 2016-04-27 14:30:45.045154873 -0700 @@ -230,7 +230,9 @@ */ try { - result = cl.newInstance(); + @SuppressWarnings("deprecation") + Object tmp = cl.newInstance(); + result = tmp; } catch (Exception ex) { // We have to remap the exception to one in our signature. // But we pass extra information in the detail message.