RFR: JDK-8290126: Add a check in JavadocTester for "javadoc should not crash"

Pavel Rappo prappo at openjdk.org
Mon Jul 18 23:08:03 UTC 2022


On Tue, 12 Jul 2022 00:09:41 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:

> Please review a simple update to `JavadocTester` to provide a default-on check that no stack traces were written to the STDERR stream.
> 
> There are also some minor cleanup edits suggested by the IDE.

This PR could use the feature it introduces. It would test drive the feature and ensure that the feature works. A brief search showed these potential candidates in test/langtools/jdk/javadoc/:

  1. doclet/InheritDocForUserTags/DocTest.java:57
  2. tool/BadOptionsTest.java:83,96,108,120,132
  3. doclet/testCustomTagletRegistration/TestRegistrationErrors.java:76
  4. doclet/testSnippetTag/SnippetTester.java:55

-------------

PR: https://git.openjdk.org/jdk/pull/9458


More information about the javadoc-dev mailing list