RFR: 8264220: jdk/javadoc/doclet/testRelatedPackages/TestRelatedPackages.java fails to compile

Hannes Wallnöfer hannesw at openjdk.java.net
Fri Mar 26 13:02:25 UTC 2021


On Fri, 26 Mar 2021 11:25:50 GMT, Jie Fu <jiefu at openjdk.org> wrote:

>> Sorry for the inconvenience, and thanks for looking into this and fixing it. It's quite easy to trip over how jtreg caches libraries.
>
> Thanks @hns for your review.
> 
> Do you think it's trivial and can be pushed right now?
> Thanks.

I have tested the fix running jtreg in standalone mode and without precompiled test libraries. I verified the fix solves the problem, so yes, I think this can be pushed. 

What I do not understand is why there are other javadoc tests that build `toolbox.ToolBox` and do not have the `jdk.compiler` @modules tags, but still work in standalone mode without preexisiting JTwork directory. But that's a different problem, so I think it's safe to push this change.

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

PR: https://git.openjdk.java.net/jdk/pull/3208


More information about the javadoc-dev mailing list