Integrated: 8357165: test java/lang/invoke/ClassValueTest.java fails intermittently
Chen Liang
liach at openjdk.org
Thu May 22 14:28:00 UTC 2025
On Sun, 18 May 2025 21:58:04 GMT, Chen Liang <liach at openjdk.org> wrote:
> The test was originally written with product builds in mind; it didn't consider the slowness of debug builds, thus causing tests to fail.
>
> Also there was a bug in testWeakAgainstClassValue: the test need to flush the backing map in the class to have the weak value removed. It is fixed in this patch as well.
>
> Testing: ClassValueTest repeated 10 times on windows-x64/linux-x64/macosx-aarch64/linux-aarch64 fastdebug.
This pull request has now been integrated.
Changeset: 12efc1fe
Author: Chen Liang <liach at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/12efc1fe3322d16f0e703b334912241d80dbaba9
Stats: 15 lines in 1 file changed: 6 ins; 6 del; 3 mod
8357165: test java/lang/invoke/ClassValueTest.java fails intermittently
Reviewed-by: jpai
-------------
PR: https://git.openjdk.org/jdk/pull/25292
More information about the core-libs-dev
mailing list