On Sat, 30 Jul 2022 01:39:54 GMT, Joe Wang <jo...@openjdk.org> wrote:
>> Naoto Sato has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Parse invalid fields correctly > > test/jdk/java/util/Locale/bcp47/TExtensionTests.java line 190: > >> 188: } catch (IllformedLocaleException ile) { >> 189: // success >> 190: System.out.println("IllformedLocaleException thrown >> correctly: " + ile.getMessage()); > > Could use assertThrows, but ok if you want to keep it this way. Thanks, Joe. Replaced them with `assertThrows`. ------------- PR: https://git.openjdk.org/jdk/pull/9620