On Thu, 18 Jul 2024 07:30:47 GMT, SendaoYan <s...@openjdk.org> wrote:

>> Hi all,
>> The testcase `serviceability/attach/LongArgTest.java` intermittent fails 
>> `java.lang.NoClassDefFoundError: jdk/test/lib/Utils`. Jtreg doesn't 
>> automatically compile `jdk/test/lib/Utils.class` and 
>> `jdk/test/lib/apps/LingeredApp.class` etc.. Maybe it's a jtreg  framework 
>> bug.
>> I think it's necessory to compile `jdk.test.lib.Utils` and 
>> `jdk.test.lib.apps.LingeredApp` explicitly.
>> Only change the testcase, the change has been verified, no risk.
>
> SendaoYan has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   delete @build LongArgTest

This `@build` tag can solve this particular failure, but can cause similar 
failures of other tests.
I think we need to find out what other test is involved here (I'll add a 
comment to the CR) and then decide how to fix the issue

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

PR Comment: https://git.openjdk.org/jdk/pull/20228#issuecomment-2237492331

Reply via email to