-
Notifications
You must be signed in to change notification settings - Fork 148
8333456: CompactNumberFormat integer parsing fails when string has no suffix #2468
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
👋 Welcome back rm-gh-8! A progress list of the required criteria for merging this PR into |
|
❗ This change is not yet ready to be integrated. |
|
This backport pull request has now been updated with issue from the original commit. |
Webrevs
|
|
/approval request for backport of JDK-8333456: CompactNumberFormat integer parsing fails when string has no suffix. Ran the updated and related tests on linux-x64, linux-aarch64, macos-aarch64 and windows-x64: (All Passed) - make test TEST=test/jdk/java/text/Format Results are attached. |
phohensee
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LenientParseTest.java was brought in as part of JDK-8327640, which was a large patch and required a CSR, thus including it in this PR is unlikely to be approved by the maintainers. I would drop this PR.
If you do want to get this fix done, I'd file a new JBS issue against 21u and write a new test for just this fix.
Removed Ran the test: (Passed) make test TEST=test/jdk/java/text/Format/NumberFormat/Bug8333456.java Result attached. |
|
Hi @rm-gh-8 |
Backporting JDK-8333456: CompactNumberFormat integer parsing fails when string has no suffix. Adds logic to check to make sure position does not exceed the string length before deciding to check for a decimal symbol.
Ran GHA Sanity Checks (passed) and related test (passed).
Progress
Issue
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk21u-dev.git pull/2468/head:pull/2468$ git checkout pull/2468Update a local copy of the PR:
$ git checkout pull/2468$ git pull https://git.openjdk.org/jdk21u-dev.git pull/2468/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 2468View PR using the GUI difftool:
$ git pr show -t 2468Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk21u-dev/pull/2468.diff
Using Webrev
Link to Webrev Comment