Re: RFR: 8302525: Write a test to check various components send Events while mouse and key are used simultaneously

2023-02-18 Thread Sergey Bylokhov
On Wed, 15 Feb 2023 12:50:42 GMT, Ravi Gupta wrote: > Main aim of this testcase is to test the behavior of various events under > stress. > > This testcase verifies the following assertions > a. This TestCase performs various mouse and key operations on components and > checks whether all the

RFR: 8302813: awt.image.incrementaldraw can use Boolean.parseBoolean() to parse the system property

2023-02-18 Thread SWinxy
Please review this change which moves the parsing of the `awt.image.incrementaldraw` property from the static initializer block into the field itself by invoking `Boolean.parseBoolean()` on the system property getter. Hopefully in the near future we can do away with `AccessController`s and simpl

Re: RFR: JDK-8302281 - ImageIO objects should implement AutoClosable [v5]

2023-02-18 Thread Markus KARG
> ImageIO objects, like ImageReader, ImageWrite, ImageInputStream and > ImageOutputStream, should implement AutoClosable. > > There is a risk of keeping resources opened longer than needed (or even run > into a resource leak with long running processes) as the user cannot use > try-with-resourc

Re: RFR: JDK-8302281 - ImageIO objects should implement AutoClosable [v4]

2023-02-18 Thread Markus KARG
> ImageIO objects, like ImageReader, ImageWrite, ImageInputStream and > ImageOutputStream, should implement AutoClosable. > > There is a risk of keeping resources opened longer than needed (or even run > into a resource leak with long running processes) as the user cannot use > try-with-resourc

Re: RFR: JDK-8302281 - ImageIO objects should implement AutoClosable [v3]

2023-02-18 Thread Markus KARG
> ImageIO objects, like ImageReader, ImageWrite, ImageInputStream and > ImageOutputStream, should implement AutoClosable. > > There is a risk of keeping resources opened longer than needed (or even run > into a resource leak with long running processes) as the user cannot use > try-with-resourc

Re: RFR: JDK-8302281 - ImageIO objects should implement AutoClosable [v2]

2023-02-18 Thread Markus KARG
On Mon, 13 Feb 2023 21:03:45 GMT, Phil Race wrote: >> Markus KARG has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Added @since > > oh, and in future discuss things like this on the list and get agreement > BEFORE posting a PR. > See htt

Re[2]: Stage Manager Problems

2023-02-18 Thread Jeremy Wood
I made a 5 min video here: https://drive.google.com/file/d/1al0huWBGhdSeqXrNU_if8HpQGOrxFMFH/view?usp=sharing (I’ll delete this link in a month or two.) It shows the original complaint, but also around t=3 min it starts to show a worse problem: If you have Stage Manager active and you iconif