@@ -0,0 +1,416 @@
+package sfBugs;%0A%0Aimport java.sql.ResultSet;%0Aimport java.sql.SQLException;%0A%0Apublic class Bug1942828 %7B%0A%09public int getInt0(ResultSet rs) throws SQLException %7B%0A%09%09return rs.getInt(0);%0A%09%7D%0A%0A%09public int getInt(ResultSet rs, int i) throws SQLException %7B%0A%09%09return rs.getInt(i);%0A%09%7D%0A%0A%09private final int CONST = 7;%0A%09%0A%09public int getIntCheck(ResultSet rs, int i) throws SQLException %7B%0A%09%09return i %3E 0 ? rs.getInt(i) : CONST;%0A%09%7D%0A%7D%0A

Test case for [ 1942828 ] ResultSet getXXX where index is not zero reported as zero