Re: RFR: 8352755: Misconceptions about j.text.DecimalFormat digits during parsing [v2]

2025-03-26 Thread Naoto Sato
On Wed, 26 Mar 2025 23:05:46 GMT, Justin Lu wrote: >> Please review this PR which clarifies the behavior for integer and fraction >> limits in NumberFormat and implementing classes. An associated CSR is filed. >> >> There have been a few bugs submitted which indicate a misconception that >> th

Re: RFR: 8352755: Misconceptions about j.text.DecimalFormat digits during parsing [v2]

2025-03-26 Thread Justin Lu
> Please review this PR which clarifies the behavior for integer and fraction > limits in NumberFormat and implementing classes. An associated CSR is filed. > > There have been a few bugs submitted which indicate a misconception that > these limits impact parsing. The actual behavior is that the

Re: RFR: 8352755: Misconceptions about j.text.DecimalFormat digits during parsing [v2]

2025-03-26 Thread Justin Lu
On Wed, 26 Mar 2025 22:35:25 GMT, Naoto Sato wrote: >> That commentary is only in this method because of the non-obvious behavior >> for the maximum integer digits. (The pattern does not change the >> `maximumIntegerDigits`). Since not all users may read that section in the >> class descriptio

Re: RFR: 8352755: Misconceptions about j.text.DecimalFormat digits during parsing

2025-03-26 Thread Justin Lu
On Wed, 26 Mar 2025 21:41:02 GMT, Naoto Sato wrote: >> Please review this PR which clarifies the behavior for integer and fraction >> limits in NumberFormat and implementing classes. An associated CSR is filed. >> >> There have been a few bugs submitted which indicate a misconception that >> t

Re: RFR: 8352755: Misconceptions about j.text.DecimalFormat digits during parsing

2025-03-26 Thread Naoto Sato
On Wed, 26 Mar 2025 22:14:57 GMT, Justin Lu wrote: >> src/java.base/share/classes/java/text/DecimalFormat.java line 4047: >> >>> 4045: * #setMaximumIntegerDigits(int)} or {@link >>> #applyPattern(String)}. >>> 4046: * See the {@link ##patterns Pattern Section} for comprehensive >>> r

Re: RFR: 8352755: Misconceptions about j.text.DecimalFormat digits during parsing

2025-03-26 Thread Naoto Sato
On Wed, 26 Mar 2025 20:31:07 GMT, Justin Lu wrote: > Please review this PR which clarifies the behavior for integer and fraction > limits in NumberFormat and implementing classes. An associated CSR is filed. > > There have been a few bugs submitted which indicate a misconception that > these l