Throw SkippedException if no JS engine availabe in TestSearchScript

XMLWordPrintable

    • Type: Task
    • Resolution: Fixed
    • Priority: P4
    • 16
    • Affects Version/s: 15
    • Component/s: tools
    • None
    • b27
    • generic
    • generic

      In JDK-8241982 we changed test doclet/testSearchScript to try to optionally use GraalJS for search script execution, optionally skipping the test if no JavaScript script engine is available. The skipping is done by printing a message and returning from the test. However, there is a special jtreg.SkippedException class for skipping tests that is recognized by jtreg that should be used for this purpose.

            Assignee:
            Hannes Wallnoefer
            Reporter:
            Hannes Wallnoefer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: