On Tue, 24 May 2022 21:37:52 GMT, XenoAmess <[email protected]> wrote:
>> as title.
>
> XenoAmess has updated the pull request incrementally with one additional
> commit since the last revision:
>
> add test for newHashSet and newLinkedHashSet
test/jdk/java/util/HashMap/WhiteBoxResizeTest.java line 354:
> 352: rsc("rsls", size, cap, () -> {
> 353: try {
> 354: Field mapField =
> HashSet.class.getDeclaredField("map");
For clarity, consider using var handle/method handle and keep the reflection
code in the `WhiteBoxResizeTest` constructor.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8302