--- old/src/java.desktop/share/classes/javax/swing/text/html/ObjectView.java 2018-10-01 10:01:41.014026000 +0700 +++ new/src/java.desktop/share/classes/javax/swing/text/html/ObjectView.java 2018-10-01 10:01:40.422026000 +0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -133,7 +133,7 @@ System.err.println("introspector failed, ex: "+ex); return; // quit for now } - PropertyDescriptor props[] = bi.getPropertyDescriptors(); + PropertyDescriptor[] props = bi.getPropertyDescriptors(); for (int i=0; i < props.length; i++) { // System.err.println("checking on props[i]: "+props[i].getName()); Object v = attr.getAttribute(props[i].getName());