JDK-8000171 : TEST_BUG: java/awt/GridLayout/LayoutExtraGaps/LayoutExtraGaps.java fails intermittently on Windows
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7,8,9,10
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows
  • CPU: generic
  • Submitted: 2012-09-27
  • Updated: 2023-10-09
  • Resolved: 2021-03-27
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.
Other
tbdResolved
Related Reports
Duplicate :  
Relates :  
Description
Testsuite name: regression
Test(s) name: java/awt/GridLayout/LayoutExtraGaps/LayoutExtraGaps.java
JDK/JRE tested: 7u9 b04
OS/architecture: Windows 7 x64
Reproducible: Always
Is it a Regression: N
Test result on FCS: Fail

Test java/awt/GridLayout/LayoutExtraGaps/LayoutExtraGaps.java fails intermittently on Windows with the following JTREG message: test result: Failed. Execution failed: `main' threw exception: sun.awt.SunToolkit$InfiniteLoop


Comments
and here's the failure for java/awt/Focus/NonFocusableWindowTest/NoEventsTest.java also mentioned previously in this report .. seen on Windows 7 with JDK 10+11 ----------messages:(5/191)---------- command: main NoEventsTest reason: User specified action: run main NoEventsTest Mode: othervm Additional options from @modules: --add-modules java.desktop elapsed time (seconds): 1.454 ----------configuration:(3/43)---------- Boot Layer add modules: java.desktop ----------System.out:(0/0)---------- ----------System.err:(18/1065)---------- sun.awt.SunToolkit$InfiniteLoop at java.desktop/sun.awt.SunToolkit.realSync(SunToolkit.java:1474) at java.desktop/sun.awt.SunToolkit.realSync(SunToolkit.java:1402) at java.desktop/java.awt.Robot.waitForIdle(Robot.java:692) at NoEventsTest.pause(NoEventsTest.java:51) at NoEventsTest.performFocusClick(NoEventsTest.java:162) at NoEventsTest.main(NoEventsTest.java:110) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115) at java.base/java.lang.Thread.run(Thread.java:844) JavaTest Message: Test threw exception: sun.awt.SunToolkit$InfiniteLoop JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: sun.awt.SunToolkit$InfiniteLoop
29-01-2018

fails with jdk10 on windows 7 sun.awt.SunToolkit$InfiniteLoop at java.desktop/sun.awt.SunToolkit.realSync(SunToolkit.java:1474) at java.desktop/sun.awt.SunToolkit.realSync(SunToolkit.java:1402) at java.desktop/java.awt.Robot.waitForIdle(Robot.java:692) at test.java.awt.regtesthelpers.Util.waitForIdle(Util.java:212) at LayoutExtraGaps.<init>(LayoutExtraGaps.java:94) at LayoutExtraGaps.main(LayoutExtraGaps.java:189) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115) at java.base/java.lang.Thread.run(Thread.java:844) JavaTest Message: Test threw exception: sun.awt.SunToolkit$InfiniteLoop JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: sun.awt.SunToolkit$InfiniteLoop
23-01-2018

Test fails with same error on Windows 8.1 (32bit JDK) for 9b73 also RULE java/awt/GridLayout/LayoutExtraGaps/LayoutExtraGaps.java Exception sun.awt.SunToolkit$InfiniteLoop
21-07-2015

Test java/awt/Focus/NonFocusableWindowTest/NoEventsTest.java also fails with same error in Windows 8.1 for jdk 9b73(32bit JDK) RULE java/awt/Focus/NonFocusableWindowTest/NoEventsTest.java Exception sun.awt.SunToolkit$InfiniteLoop http://aurora-ds3.us.oracle.com:9502/runs/01029/1029591.ManualSubmit/1029591.ManualSubmit-1/workDir/java/awt/Focus/NonFocusableWindowTest/NoEventsTest.jtr ----------System.out:(0/0)---------- ----------System.err:(18/948)---------- sun.awt.SunToolkit$InfiniteLoop at sun.awt.SunToolkit.realSync(SunToolkit.java:1498) at sun.awt.SunToolkit.realSync(SunToolkit.java:1426) at java.awt.Robot.waitForIdle(Robot.java:574) at NoEventsTest.pause(NoEventsTest.java:50) at NoEventsTest.performFocusClick(NoEventsTest.java:161) at NoEventsTest.main(NoEventsTest.java:109) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:502) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92) at java.lang.Thread.run(Thread.java:745) JavaTest Message: Test threw exception: sun.awt.SunToolkit$InfiniteLoop JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: sun.awt.SunToolkit$InfiniteLoop
21-07-2015

P4 as a test bug
06-05-2013

I still can reproduce the issue only on the specified hosts.
06-03-2013

1. The test passes if I am moving " -Xms256M -Xmx768M " before -jar (as it intended to be). The test passes if do not use the flags. So this is a test execution issue. 2. It is really surprising that these options could affect the real sync. May be this is a sign of our issue.
06-03-2013

As mentioned above. Should be fixed in JDK8.
08-02-2013

Yes, issue IS reproduceable on JDK 8 b57. Test failures or passes intermittently.
28-09-2012

Is the problem reproducible with the latest jdk8 build?
27-09-2012

I see that this is not a regression. Is the problem reproducible with jdk8?
27-09-2012

Raising to P3, since we need to make SunToolkit.realSync() replace Toolkit.sync() in JDK8.
27-09-2012