RFR: 8288989: Make tests not to depend on the source code

Pavel Rappo prappo at openjdk.org
Wed Dec 13 17:24:40 UTC 2023


On Thu, 2 Nov 2023 09:02:43 GMT, Adam Sotona <asotona at openjdk.org> wrote:

> Two langtool tests depend on the JDK source tree presence. 
> This patch skips the tests execution in a source-less test environment.
> 
> Please review.
> 
> Thanks,
> Adam

Firstly, I agree with Jon on `jtreg.SkippedException`, which we also plan to use for a similar issue, JDK-8310277. Secondly, may I suggest retitling the issue so that it wouldn't mislead people into thinking that the affected tests no longer need access to source code to do useful work?

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

PR Comment: https://git.openjdk.org/jdk/pull/16470#issuecomment-1854404680


More information about the javadoc-dev mailing list