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

Throw SkippedException if no JS engine availabe in TestSearchScript

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: P4 P4
    • 16
    • 15
    • 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.

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

              Created:
              Updated:
              Resolved: