On Mon, 23 Oct 2023 21:15:44 GMT, Justin Lu <j...@openjdk.org> wrote:
> Please review this PR which adds a test for ChoiceFormat intended to test a > wide range of ChoiceFormat patterns. > > The existing test _Bug4387255_ only tests a singular basic pattern and does > not test for incorrect patterns either. > > The new test checks > > - both correct and incorrect patterns > - the behavior of incorrect patterns that either throw an > IllegalArgumentException or discard the incorrect portion > - the case of formatting with an empty pattern (that leads to empty limits > and formats) This pull request has now been integrated. Changeset: 10427c02 Author: Justin Lu <j...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/10427c023a142a24db3c2492977a7233a1afc25d Stats: 153 lines in 1 file changed: 153 ins; 0 del; 0 mod 8318613: ChoiceFormat patterns are not well tested Reviewed-by: naoto ------------- PR: https://git.openjdk.org/jdk/pull/16324