JDK-8199790 : Implement tests for JavaScript used in javadoc
  • Type: Enhancement
  • Component: tools
  • Sub-Component: javadoc(tool)
  • Priority: P3
  • Status: New
  • Resolution: Unresolved
  • Submitted: 2018-03-19
  • Updated: 2020-04-22
Related Reports
Blocks :  
Relates :  
Description
Currently, there is not much testing available for JavaScript used in javadoc. New tests to automate JavaScript testing needs to be implemented.
Comments
As of JDK-8220497 we have the TestSearchScript test which relied on Nashorn to test the javadoc search script. Since the removal of Nashorn the test will usually be skipped, although it can use GraalJS if available (see 8241982).
22-04-2020

But note ... JavaScript support in Java may be going away. JEP 335. This will affect our ability to provide automated unit tests for JavaScript code.
06-06-2018