RFR: JDK-8290126: Add a check in JavadocTester for "javadoc should not crash"
Pavel Rappo
prappo at openjdk.org
Thu Jul 21 16:39:04 UTC 2022
On Thu, 21 Jul 2022 16:28:59 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:
> > 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
>
> Like other similar features, the feature is "default on", so it is currently active for all tests.
Then I assume you'll see test failures if you change ` at com.sun.` and don't update the tests that expect exceptions.
-------------
PR: https://git.openjdk.org/jdk/pull/9458
More information about the javadoc-dev
mailing list