ADDITIONAL SYSTEM INFORMATION :
Garuda linux with latest pipewire 1.2.2-2.
A DESCRIPTION OF THE PROBLEM :
When grabbing screenshot via Robot class, it will grab the screenshot but then closeSession() will be called by background task and that will never return thus deadlocking any attempt to get another screenshot.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create robot.
Grab screen shot.
Wait at least 2 seconds.
Grab another screenshot
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Getting another screenshot
ACTUAL -
getRGBPixels method deadlocks on waiting for closeSession to return (they are both synchronized)
CUSTOMER SUBMITTED WORKAROUND :
I tried to instrument class to ignore closeSession but since it's internal class it did not work
FREQUENCY : always
Garuda linux with latest pipewire 1.2.2-2.
A DESCRIPTION OF THE PROBLEM :
When grabbing screenshot via Robot class, it will grab the screenshot but then closeSession() will be called by background task and that will never return thus deadlocking any attempt to get another screenshot.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create robot.
Grab screen shot.
Wait at least 2 seconds.
Grab another screenshot
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Getting another screenshot
ACTUAL -
getRGBPixels method deadlocks on waiting for closeSession to return (they are both synchronized)
CUSTOMER SUBMITTED WORKAROUND :
I tried to instrument class to ignore closeSession but since it's internal class it did not work
FREQUENCY : always
- duplicates
-
JDK-8321176 [Screencast] make a second attempt on screencast failure
- Resolved