RFR: 8242652: Throw SkippedException if no JS engine availabe in TestSearchScript
Pavel Rappo
prappo at openjdk.java.net
Thu Nov 26 15:42:57 UTC 2020
On Tue, 24 Nov 2020 15:08:27 GMT, Hannes Wallnöfer <hannesw at 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.
@hns, why did you decide to duplicate that exception locally instead of using it as a dependency?
-------------
PR: https://git.openjdk.java.net/jdk/pull/1412
More information about the javadoc-dev
mailing list