On Thu, 3 Sep 2026 16:09:05 GMT, Tushar saini <[email protected]> wrote:

>> @viktorklang-ora right. Honestly, I would leave it as is.
>
> Hi @amaembo @JnRouvignac @viktorklang-ora 
> Thanks all for the review. Agreed the sorted specialization has little 
> benefit with a persistent HashSet, and I haven't benchmarked it yet. Given 
> the compareTo/equals compatibility concerns, what direction do you prefer for 
> JDK-8223933 — leave as-is, apply a full equals-based fix, or something else? 
> I'll update or withdraw the PR accordingly.

@tusharsaini18899 My personal opinion here is that I don't think this is 
fixable without significant risk of semantically altering pre-existing code, so 
my vote is unfortunately "Leave things as they are" (unless some other solution 
is discovered).

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

PR Comment: https://git.openjdk.org/jdk/pull/32670#issuecomment-5599649435

Reply via email to