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

Throw SkippedException if no JS engine availabe in TestSearchScript

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 15
    • Fix Version/s: 16
    • Component/s: tools
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b27
    • CPU:
      generic
    • OS:
      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

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

                Dates

                Created:
                Updated:
                Resolved: