JDK-8279524 : javax/swing/JTable/4275046/bug4275046.java fails
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 8u311
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: linux
  • Submitted: 2022-01-05
  • Updated: 2022-01-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8-poolUnresolved
Related Reports
Relates :  
Description
The javax/swing/JTable/4275046/bug4275046.java fails on Linux:

----------System.out:(2/38)----------
The edited value is = red
Test failed
----------System.err:(15/916)----------
java.lang.RuntimeException: Expected value in the cell: 'rededited' but found 'red'.
        at bug4275046.checkResult(bug4275046.java:188)
        at bug4275046.test(bug4275046.java:105)
        at bug4275046.main(bug4275046.java:67)
        at ...

Expected value in the cell: 'rededited' but found 'red'
Comments
This is a test stabilization issue, and most likely it affects previous versions too. I haven't checked earlier versions. It looks like a test bug rather than a product one, therefore I added ‘testbug’ label.
17-01-2022

According to the comment in JDK-8072767, the failure could be related to JDK-8196093 and could be resolved by backporting JDK-8196093.
05-01-2022

I see this test fails occasionally in CI for 17 and jdk-dev on other platforms including macOS and Windows. There's a stability-related fix JDK-8272232. We may consider backporting it too.
05-01-2022