RFR: 8336691: Test LongArgTest.java intermittent fails java.lang.NoClassDefFoundError: jdk/test/lib/Utils [v2]

SendaoYan syan at openjdk.org
Sat Nov 9 09:52:31 UTC 2024


On Thu, 18 Jul 2024 07:30:47 GMT, SendaoYan <syan at 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

Need for investigate

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

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


More information about the serviceability-dev mailing list