<Swing Dev> RFR: 8198400: Test javax/swing/SwingUtilities/6797139/bug6797139.java fails in mach5 [v2]

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Mon Oct 19 04:31:27 UTC 2020


> Please review a test fix for an issue seen failing in mach5 testing although it is not reproducible locally.
> The issue seems to stem from the fact that the test was been run as headless test although it requires to create UI
> class like ComponentUI which is needed for painting, layout calculations etc and therefore it fails citing
> _no ComponentUI class for:
> javax.swing.JButton[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.0,border=,flags=0,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=null,paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Probably,defaultCapable=true]_
> Modified the test to mark it as headful.
> Mach5 job was run for several iteration on all 3 platforms. Link in JBS

Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:

  Removed headful tag

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/719/files
  - new: https://git.openjdk.java.net/jdk/pull/719/files/12334239..a0302813

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=719&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=719&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/719.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/719/head:pull/719

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


More information about the swing-dev mailing list