Re: RFR: 8305072: Win32ShellFolder2.compareTo is inconsistent [v2]

2024-04-29 Thread Joel Uckelman
On Tue, 5 Mar 2024 17:40:01 GMT, Alexey Ivanov wrote: >> The implementation of `Win32ShellFolder2.compareTo` is inconsistent: there >> are cases where >> `a < b & b < c but a == c` >> which *violates its general contract*. >> >> In particular, it happens for the personal folder (*Documents*

Re: RFR: 8305072: Win32ShellFolder2.compareTo is inconsistent [v2]

2024-03-25 Thread Joel Uckelman
On Thu, 21 Mar 2024 17:01:49 GMT, Joel Uckelman wrote: >> @uckelman Is there a way to reproduce the original bug in the user's >> environment? >> >> I think there's a bug in JDK which leads to two _Documents_ folders in the >> list. If the bug is still

Re: RFR: 8305072: Win32ShellFolder2.compareTo is inconsistent [v2]

2024-03-21 Thread Joel Uckelman
On Thu, 21 Mar 2024 12:02:52 GMT, Alexey Ivanov wrote: >> Hi, I'm the submitter of the original bug report. I can confirm that you got >> the reason for the change exactly right. > > @uckelman Is there a way to reproduce the original bug in the user's > environment? > > I think there's a bug i

Re: RFR: 8305072: Win32ShellFolder2.compareTo is inconsistent [v2]

2024-03-21 Thread Joel Uckelman
On Thu, 14 Mar 2024 16:56:03 GMT, Alexey Ivanov wrote: >> It is well described in a [JBS >> comment](https://bugs.openjdk.org/browse/JDK-8305072?focusedId=14610400&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14610400) >> by the submitter. >> >> Let's consider