Re: Add String & Character ASCII case conversion methods

2023-04-16 Thread some-java-user-99206970363698485155
Thanks for your effort on deprecating the error-prone toLowerCase() and toUpperCase() methods! Though that only addresses one aspect of my original proposal. Do you or anyone else have any opinion or feedback regarding the proposed ASCII case conversion methods? Even if you think these methods

Re: Add String & Character ASCII case conversion methods

2023-04-11 Thread Glavo
Thanks for your reply, I've opened a PR[1] where I hope to continue discussing this issue. Glavo [1] https://github.com/openjdk/jdk/pull/13434 On Tue, Apr 11, 2023 at 9:02 PM Quân Anh Mai wrote: > Hi, > > To propose deprecation of String::toLowerCase() and String::toUpperCase(), > you can crea

Re: Add String & Character ASCII case conversion methods

2023-04-11 Thread Quân Anh Mai
Hi, To propose deprecation of String::toLowerCase() and String::toUpperCase(), you can create a patch as normal, with an addition of a CSR ticket that describes the situation and the proposed solution. After that, you can ask for someone from core-libs to review the ticket. The change can be merge

Re: Add String & Character ASCII case conversion methods

2023-04-09 Thread Glavo
Hi, We discussed this issue on this mailing list[1] earlier this year. I investigated the usage of these two methods and found that all use cases within JDK are suspicious, resulting in many imperceptible bugs. I hope to create a PR for this issue, deprecate these two methods, and create alterna