On Fri, 25 Aug 2023 08:00:57 GMT, Pavel Rappo <pra...@openjdk.org> wrote:

> I understand why you are doing it, but I wonder if it is possible to do it in 
> a better way. If this is integrated, tests that use JavadocTester will always 
> specify `-sourcepath`. That won't be clean and will likely cause suprises 
> down the road.

As comments in the related JBS issues show, javadoc will always look for the 
sources somewhere. Using `testSrc` as explicit default seems preferable to the 
implicit default class path.

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

PR Comment: https://git.openjdk.org/jdk/pull/15424#issuecomment-1695572646

Reply via email to