Java 17 でインドネシア語の Locale の扱いが変わっている
- https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8263202
- https://github.com/openjdk/jdk/commit/a4c46e1e4f4f2f05c8002b2af683a390fc46b424
Java 11
| Welcome to JShell -- Version 11.0.16
| For an introduction type: /help intro
jshell> new Locale("id")
$1 ==> in
jshell> new Locale("in")
$2 ==> in
Java 17
| Welcome to JShell -- Version 17.0.4
| For an introduction type: /help intro
jshell> new Locale("id")
$1 ==> id
jshell> new Locale("in")
$2 ==> id
Published: 2022-08-09(Tue) 05:24