Re: RFR: 8349493: Replace sun.util.locale.ParseStatus usage with java.text.ParsePosition

2025-02-05 Thread Naoto Sato
On Wed, 5 Feb 2025 21:25:56 GMT, Justin Lu wrote: > Please review this PR which removes _sun.util.locale.ParseStatus_ which is a > Locale helper class used for parsing language tags. > > Such usages should be replaced by _java.text.ParsePosition_ which has almost > 1 to 1 behavior. Note that

Re: RFR: 8349493: Replace sun.util.locale.ParseStatus usage with java.text.ParsePosition

2025-02-05 Thread Justin Lu
On Wed, 5 Feb 2025 22:51:45 GMT, Naoto Sato wrote: >> Please review this PR which removes _sun.util.locale.ParseStatus_ which is >> a Locale helper class used for parsing language tags. >> >> Such usages should be replaced by _java.text.ParsePosition_ which has almost >> 1 to 1 behavior. Note

Re: RFR: 8349493: Replace sun.util.locale.ParseStatus usage with java.text.ParsePosition

2025-02-05 Thread Naoto Sato
On Wed, 5 Feb 2025 21:25:56 GMT, Justin Lu wrote: > Please review this PR which removes _sun.util.locale.ParseStatus_ which is a > Locale helper class used for parsing language tags. > > Such usages should be replaced by _java.text.ParsePosition_ which has almost > 1 to 1 behavior. Note that

RFR: 8349493: Replace sun.util.locale.ParseStatus usage with java.text.ParsePosition

2025-02-05 Thread Justin Lu
Please review this PR which removes _sun.util.locale.ParseStatus_ which is a Locale helper class used for parsing language tags. Such usages should be replaced by _java.text.ParsePosition_ which has almost 1 to 1 behavior. Note that this cleanup changes the exception message in `Locale.caseFol