On Tue, 12 Aug 2025 11:48:56 GMT, Laurent Bourgès <lbour...@openjdk.org> wrote:

>> test/jdk/java/awt/ColorClass/WeakColorTest.java line 24:
>> 
>>> 22:  */
>>> 23: 
>>> 24: import java.awt.*;
>> 
>> Better to expand wild card imports.
>
> If test depends on gc collector + special mode, then set explicitely the 
> needed gc (G1 ?) with small heap + needed tuning to ensure consistent 
> behaviour accross platform if possible and not rely on platform's default 
> behaviour...
> 
> My 2 cents.
> Laurent

GC is not guaranteed. So its better to try for good number of iterations and 
not fail just because GC is not honoured.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26576#discussion_r2269600404

Reply via email to