Re: RFR: 8357165: test java/lang/invoke/ClassValueTest.java fails intermittently [v2]

2025-05-22 Thread Chen Liang
On Wed, 21 May 2025 17:09:29 GMT, Chen Liang 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

Re: RFR: 8357165: test java/lang/invoke/ClassValueTest.java fails intermittently [v2]

2025-05-21 Thread Jaikiran Pai
On Wed, 21 May 2025 17:09:29 GMT, Chen Liang 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

Re: RFR: 8357165: test java/lang/invoke/ClassValueTest.java fails intermittently [v2]

2025-05-21 Thread Chen Liang
> 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 i

Re: RFR: 8357165: test java/lang/invoke/ClassValueTest.java fails intermittently

2025-05-21 Thread Chen Liang
On Sun, 18 May 2025 21:58:04 GMT, Chen Liang 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 t

Re: RFR: 8357165: test java/lang/invoke/ClassValueTest.java fails intermittently

2025-05-21 Thread Jaikiran Pai
On Sun, 18 May 2025 21:58:04 GMT, Chen Liang 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 t