mbien commented on PR #8411: URL: https://github.com/apache/netbeans/pull/8411#issuecomment-2931542609
those sizing values are a "false friend", somewhat similar to `String#replaceAll`. It is likely that they don't do what some authors thought they would do, but in practice it probably doesn't matter all that much. Post JDK 21 bump this should be all changed to `[Map|SetImpl]#newFoo[Map|Set]` More details with a short demonstrator is on an old [blog entry](https://mbien.dev/blog/entry/java-19-s-map-set) I once wrote. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists