<AWT Dev> RFR: 8238936 The crash in XRobotPeer when the custom GraphicsDevice is used
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Mon Mar 2 19:48:09 UTC 2020
On 3/2/20 8:21 am, Alexander Zuev wrote:
> fix looks good. Just one quick question - in LightweightPeerHolder, why it was HeadlessException before?
> Was there any code that expected it to throw this exact exception?
We should not have such code, creation of robot and its peer should not fail by
the HeadlessException, by the spec the AWTException should be thrown in case of
headless environment. To be safe I have run our tests jtreg+jck.
--
Best regards, Sergey.
More information about the awt-dev
mailing list