On Wed, 14 Jan 2026 10:40:57 GMT, ANUPAM DEV <[email protected]> wrote:
>> Hi, >> >> This is a fix for NPE in OldJTable.addColumn >> >> The addColumn method in OldJTable.java was unconditionally calling >> columnData.toArray(), which caused a NullPointerException when columnData >> was null (e.g., when called from addColumn(Object, int)). >> >> This commit adds a null check to safe-guard against this NPE, passing null >> to the underlying DefaultTableModel when columnData is missing. >> >> Kindly review. >> >> Regards, >> Anupam > > ANUPAM DEV has refreshed the contents of this pull request, and previous > commits have been removed. The incremental views will show differences > compared to the previous content of the PR. The pull request contains one new > commit since the last revision: > > Modified code for null check Marked as reviewed by psadhukhan (Reviewer). ------------- PR Review: https://git.openjdk.org/jdk/pull/29226#pullrequestreview-3676476988
