> _Header_ object not initialized/set when paint() method of > `WindowTableHeaderUI` class is executed. The paint() event is executed > through explicit call of `JTable.updateUI()` in the regression test. In order > to set the _header_ to the _called_ JTable, it is set in the > `getTableCellRendererComponent()` method, which in turn makes the _header_ > object available during paint event without causing NPE.
Tejesh R has updated the pull request incrementally with one additional commit since the last revision: Updated based on review comments ------------- Changes: - all: https://git.openjdk.java.net/jdk/pull/8830/files - new: https://git.openjdk.java.net/jdk/pull/8830/files/fbcd51cf..a3c73b5b Webrevs: - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=8830&range=10 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=8830&range=09-10 Stats: 30 lines in 2 files changed: 17 ins; 6 del; 7 mod Patch: https://git.openjdk.java.net/jdk/pull/8830.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/8830/head:pull/8830 PR: https://git.openjdk.java.net/jdk/pull/8830