On Tue, 29 Nov 2022 01:43:32 GMT, Jonathan Gibbons <[email protected]> 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

Reply via email to