RFR: 6218162: DefaultTableColumnModel.getColumn() method should mention ArrayIndexOutOfBoundsException

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Wed Feb 23 11:27:11 UTC 2022


If invalid ie 0 or > getColumnCount() index is passed to DefaultTableColumnModel then it returns AIOBE in current implementation which should be documented in the spec. Fixed the spec to mention the exception.

-------------

Commit messages:
 - 6218162: DefaultTableColumnModel.getColumn() method should mention ArrayIndexOutOfBoundsException

Changes: https://git.openjdk.java.net/jdk/pull/7587/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7587&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-6218162
  Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7587.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7587/head:pull/7587

PR: https://git.openjdk.java.net/jdk/pull/7587



More information about the client-libs-dev mailing list