Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8242652

Throw SkippedException if no JS engine availabe in TestSearchScript

    XMLWordPrintable

Details

    • Task
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 15
    • 16
    • tools
    • None
    • b27
    • generic
    • generic

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              hannesw Hannes Wallnoefer
              hannesw Hannes Wallnoefer
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: