diff -r e66ef2eba095 -r 8dc38c3bad7e jdk/src/java.sql.rowset/share/classes/javax/sql/rowset/RowSetMetaDataImpl.java --- a/jdk/src/java.sql.rowset/share/classes/javax/sql/rowset/RowSetMetaDataImpl.java Fri Oct 24 18:33:42 2014 +0200 +++ b/jdk/src/java.sql.rowset/share/classes/javax/sql/rowset/RowSetMetaDataImpl.java Mon Oct 27 16:57:59 2014 -0400 @@ -803,8 +803,10 @@ * @throws SQLException if a database access error occurs * or the given column number is out of bounds */ - public boolean isDefinitelyWritable(int columnIndex) - throws SQLException { return true;} + public boolean isDefinitelyWritable(int columnIndex) throws SQLException { + checkColRange(columnIndex); + return true; + } /** * Retrieves the fully-qualified name of the class in the Java