< prev index next >

src/java.sql.rowset/share/classes/javax/sql/rowset/serial/SQLInputImpl.java

Print this page

        

*** 476,486 **** if (c != null) { // create new instance of the class SQLData obj = null; try { ReflectUtil.checkPackageAccess(c); ! obj = (SQLData)c.newInstance(); } catch (Exception ex) { throw new SQLException("Unable to Instantiate: ", ex); } // get the attributes from the struct Object attribs[] = s.getAttributes(map); --- 476,488 ---- if (c != null) { // create new instance of the class SQLData obj = null; try { ReflectUtil.checkPackageAccess(c); ! @SuppressWarnings("deprecation") ! Object tmp = c.newInstance(); ! obj = (SQLData)tmp; } catch (Exception ex) { throw new SQLException("Unable to Instantiate: ", ex); } // get the attributes from the struct Object attribs[] = s.getAttributes(map);
< prev index next >