This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The test of alternate row color fails under JDK 7. There was a change in DefaultTableCellRenderer: In JDK 6, the first row (and all even rows) has the alternate color: Color alternateColor = DefaultLookup.getColor(this,ui,"Table.alternateRowColor"); if (alternateColor != null && row % 2 == 0) background = alternateColor; In JDK 7, the first row has the default color and all odd rows have the alternate color: Color alternateColor = DefaultLookup.getColor(this,ui,"Table.alternateRowColor"); if (alternateColor != null && row % 2 != 0) { background = alternateColor; } The test needs to be changed to reflect the changed behavior.
Fixed by changeset: 251135:7cd4ccca48bf http://hg.netbeans.org/core-main/rev/7cd4ccca48bf
Integrated into 'main-golden', will be available in build *201304172301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/7cd4ccca48bf User: mentlicher@netbeans.org Log: #228567: Change the behavior to adapt to JDK 7.