On Tue, 24 Nov 2020 15:08:27 GMT, Hannes Wallnöfer <hann...@openjdk.org> wrote:
> This is a simple change to throw jtreg.SkippedException if no JavaScript > engine is available to run the TestSearchScript test. In my previous attempt > I tried to use the SkippedException class already present elsewhere in the > test tree, not realizing I couuld just copy/create the exception in the > javadoc test library. > > Note that while the test is skipped correctly if no JS engine is available, > the test will currently fail in the presence of a JS engine such as GraalJS. > This is fixed by JDK-8244535. This pull request has now been integrated. Changeset: f2f3ba92 Author: Hannes Wallnöfer <hann...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/f2f3ba92 Stats: 20 lines in 2 files changed: 8 ins; 10 del; 2 mod 8242652: Throw SkippedException if no JS engine availabe in TestSearchScript Reviewed-by: prappo ------------- PR: https://git.openjdk.java.net/jdk/pull/1412