On Thu, 8 Aug 2024 02:21:39 GMT, Jiawei Tang <jwt...@openjdk.org> wrote:
>> I was inspired by >> [CODETOOLS-7901986](https://bugs.openjdk.org/browse/CODETOOLS-7901986). By >> adding `@build jdk.test.lib.Utils` all tests are passed. The GitHub Actions >> jobs are finished successfully, too. I hope I could get a final review now. > > Thank you for your help. I already made it by adding `@build > jdk.test.lib.Utils`. Do I need to try to add `@clean > jdk.test.lib.util.JavaAgentBuilder` and test again? I am not too sure adding the `@build jdk.test.lib.Utils` is a good thing. This test definition nor the test code uses/references that class. So it's odd to be adding a build tag for an indirect dependent class (and only that specific class). I felt the `@clean jdk.test.lib.util.JavaAgentBuilder` would be a better option since that `jdk.test.lib.util.JavaAgentBuilder` class is being used by the test definition. Having said that, it's just a personal opinion and I would let hotspot and serviceability area members to decide what approach to use here. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/20373#discussion_r1708446392