On Tue, 7 Apr 2026 17:58:19 GMT, Alexey Ivanov <[email protected]> wrote:
> Add `@build jdk.test.lib.Asserts` to ensure the `Asserts` class from the > library (`/lib`) is compiled for all the tests in > `test/jdk/java/awt/Modal/FileDialog/`. The tests use `Asserts` indirectly, > via the helper classes in the `helpers` folder: `TestDialog`, `TestFrame`, > `TestWindow`. (`ExtendedRobot` is explicitly referenced, but `Asserts` isn't.) > > Adding this `@build` tag ensures the class is compiled/updated for each test, > otherwise, there could be intermittent failures due to missing classes. > > Additionally, I expanded imports in the helper classes for this test suite. >explicitly refence Asserts class typo in the title. ------------- PR Comment: https://git.openjdk.org/jdk/pull/30610#issuecomment-4201967582
