RFR: JDK-8293177: Verify version numbers in legal files [v2]

Hannes Wallnöfer hannesw at openjdk.org
Tue Nov 29 10:52:39 UTC 2022


On Tue, 29 Nov 2022 01:43:32 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:

>> Hannes Wallnöfer has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Use jtreg.SkippedException
>
> test/langtools/jdk/javadoc/doclet/checkLibraryVersions/CheckLibraryVersions.java line 61:
> 
>> 59:             new CheckLibraryVersions().run(args);
>> 60:         } catch (SourceDirNotFound e) {
>> 61:             System.err.println("NOTE: Cannot find src directory; test skipped");
> 
> These days, it is common practice (but not required) to throw `jtreg.SkippedException` to convey this info.

Right, I changed the code to use `jtreg.SkippedException`.

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

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


More information about the javadoc-dev mailing list