[OpenJDK 2D-Dev] ] [9] Review Request: 8156723: JVM crash at sun.java2d.windows.GDIBlitLoops.nativeBlit

Mikhail Cherkasov mikhail.cherkasov at oracle.com
Tue Nov 1 16:45:37 UTC 2016

Hi all,

Please review the fix:
for https://bugs.openjdk.java.net/browse/JDK-8156723 .
To reproduce the issue there relatively complicate steps:
1. connect external monitor to laptop, set laptop screen as the main screen
2. open SwingSet2
3. set second screen as main screen
4. move SwingSet2 to second screen and maximize it
5. disconnect external monitor from the laptop
6. jvm is crashed

after this steps wsdo->device becomes null there:
and JVM crashes.
I'm not sure about root causes of this issue, but simple null-check 
fixes the issue.


More information about the 2d-dev mailing list