[jdk8u-dev] RFR: 8196196: Headful tests should not be run in headless mode

Severin Gehwolf sgehwolf at openjdk.org
Tue Dec 13 15:17:01 UTC 2022


On Tue, 13 Dec 2022 09:01:01 GMT, Leslie Zhai <lzhai at openjdk.org> wrote:

> Hi,
> 
> javax/swing/GroupLayout/7071166/bug7071166.java fail due to TESTBUG.
> 
> The patch applies clean except manually change the source file path.
> 
> Tested jtreg tier1~3 for fastdebug/release. This backport is only a test change and fixes the test failure.
> 
> Thanks,
> Leslie Zhai

One small difference. Once that's fixed it's good to go.

jdk/test/javax/swing/JComboBox/6632953/bug6632953.java line 47:

> 45:                     try {
> 46:                         UIManager.setLookAndFeel(lafInfo.getClassName());
> 47:                     } catch (final UnsupportedLookAndFeelException ignored) {

The JDK 11 patches doesn't have `final` keyword here. Please remove.

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

Changes requested by sgehwolf (Reviewer).

PR: https://git.openjdk.org/jdk8u-dev/pull/210


More information about the jdk8u-dev mailing list