Integrated: 8303911: [testbug] Some unit tests call System.exit
Lukasz Kostyra
lkostyra at openjdk.org
Thu Apr 20 16:20:56 UTC 2023
On Wed, 19 Apr 2023 18:15:40 GMT, Lukasz Kostyra <lkostyra at openjdk.org> wrote:
> Changes added to this commit resolve cases where `System.exit()` was used to leave tests abruptly. These tests, if System.exit() is hit, could potentially create some unwanted behavior from JTest (ex. silently skipping these tests instead of failing them).
>
> There were some files which I did not modify, mostly because they were a part of a test sub-app, or tests would require major rework to make it work.
>
> Two FXML tests were performance tests already written as separate apps, so I moved them to appropriate directory in tests/performance.
This pull request has now been integrated.
Changeset: 540c0fd1
Author: Lukasz Kostyra <lkostyra at openjdk.org>
Committer: Andy Goryachev <angorya at openjdk.org>
URL: https://git.openjdk.org/jfx/commit/540c0fd1386631b285250152a5fee6e979ed3e66
Stats: 444 lines in 7 files changed: 1 ins; 435 del; 8 mod
8303911: [testbug] Some unit tests call System.exit
Reviewed-by: angorya, kcr
-------------
PR: https://git.openjdk.org/jfx/pull/1101
More information about the openjfx-dev
mailing list