On Fri, 26 Mar 2021 11:25:50 GMT, Jie Fu <ji...@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