- 
    Bug 
- 
    Resolution: Fixed
- 
     P4 P4
- 
    6u85, 7u67, 8, 8u45, 9, 10, 11
- 
        b22
- 
        generic
- 
        generic
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build | 
|---|---|---|---|---|---|---|
| JDK-8274442 | 11.0.14 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 | 
| JDK-8267523 | 11.0.13-oracle | Sergey Bylokhov | P4 | Resolved | Fixed | b01 | 
| JDK-8267566 | 8u311 | Sergey Bylokhov | P4 | Resolved | Fixed | b01 | 
                    DK: b15
OS: Ubuntu 14.04
The test makes other tests unstable.
The test fails from time to times with an exception because of thread race.
Cause: the test tries to render an image when the frame is disposed or is not visible yet.
Suggested fix: the main thread should wait for the frame becomes visible and for the completion of rendering thread(BallThread) and dispose the frame after that.
java.lang.IllegalStateException: Component must have a valid peer at java.awt.Component$FlipBufferStrategy.createBuffers(Component.java:4009) at java.awt.Component$FlipBufferStrategy.revalidate(Component.java:4159) at java.awt.Component$FlipBufferStrategy.revalidate(Component.java:4150) at java.awt.Component$FlipBufferStrategy.getDrawGraphics(Component.java:4142) at AltTabCrashTest.renderToBS(AltTabCrashTest.java:359) at AltTabCrashTest$BallThread.run(AltTabCrashTest.java:193)
java.lang.NullPointerException at java.awt.Component$FlipBufferStrategy.createBuffers(Component.java:4043) at java.awt.Component$FlipBufferStrategy.revalidate(Component.java:4159) at java.awt.Component$FlipBufferStrategy.revalidate(Component.java:4150) at java.awt.Component$FlipBufferStrategy.getDrawGraphics(Component.java:4142) at AltTabCrashTest.renderToBS(AltTabCrashTest.java:359) at AltTabCrashTest$BallThread.run(AltTabCrashTest.java:193)
closed/java/awt/FullScreen/AltTabCrashTest/AltTabCrashTest.java
java/awt/FullScreen/AltTabCrashTest/AltTabCrashTest.java (the test was moved to open in jdk9.client, the test should be fixed in this repo)
OS: Ubuntu 14.04
The test makes other tests unstable.
The test fails from time to times with an exception because of thread race.
Cause: the test tries to render an image when the frame is disposed or is not visible yet.
Suggested fix: the main thread should wait for the frame becomes visible and for the completion of rendering thread(BallThread) and dispose the frame after that.
java.lang.IllegalStateException: Component must have a valid peer at java.awt.Component$FlipBufferStrategy.createBuffers(Component.java:4009) at java.awt.Component$FlipBufferStrategy.revalidate(Component.java:4159) at java.awt.Component$FlipBufferStrategy.revalidate(Component.java:4150) at java.awt.Component$FlipBufferStrategy.getDrawGraphics(Component.java:4142) at AltTabCrashTest.renderToBS(AltTabCrashTest.java:359) at AltTabCrashTest$BallThread.run(AltTabCrashTest.java:193)
java.lang.NullPointerException at java.awt.Component$FlipBufferStrategy.createBuffers(Component.java:4043) at java.awt.Component$FlipBufferStrategy.revalidate(Component.java:4159) at java.awt.Component$FlipBufferStrategy.revalidate(Component.java:4150) at java.awt.Component$FlipBufferStrategy.getDrawGraphics(Component.java:4142) at AltTabCrashTest.renderToBS(AltTabCrashTest.java:359) at AltTabCrashTest$BallThread.run(AltTabCrashTest.java:193)
closed/java/awt/FullScreen/AltTabCrashTest/AltTabCrashTest.java
java/awt/FullScreen/AltTabCrashTest/AltTabCrashTest.java (the test was moved to open in jdk9.client, the test should be fixed in this repo)
- backported by
- 
                    JDK-8267523 [TEST_BUG] java/awt/FullScreen/AltTabCrashTest/AltTabCrashTest.java fails with exception -           
- Resolved
 
-         
- 
                    JDK-8267566 [TEST_BUG] java/awt/FullScreen/AltTabCrashTest/AltTabCrashTest.java fails with exception -           
- Resolved
 
-         
- 
                    JDK-8274442 [TEST_BUG] java/awt/FullScreen/AltTabCrashTest/AltTabCrashTest.java fails with exception -           
- Resolved
 
-         
- links to
- 
                     Commit
        openjdk/jdk11u-dev/3dc942c2 Commit
        openjdk/jdk11u-dev/3dc942c2
- 
                     Commit
        openjdk/jdk/271a0c71 Commit
        openjdk/jdk/271a0c71
- 
                     Review
        openjdk/jdk11u-dev/427 Review
        openjdk/jdk11u-dev/427
- 
                     Review
        openjdk/jdk/3957 Review
        openjdk/jdk/3957
             (2 links to)