Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8269513: Clarify the spec wrt useOldISOCodes system property
Reviewed-by: lancea, bpb, iris, joehw
  • Loading branch information
naotoj committed Jun 30, 2021
1 parent 0dc65d3 commit 3e022247d2e80c43393bfdb5888b03210c6975d3
Showing with 5 additions and 3 deletions.
  1. +5 −3 src/java.base/share/classes/java/util/Locale.java
@@ -455,9 +455,11 @@
*
* <p>For the backward compatible behavior, the system property
* {@systemProperty java.locale.useOldISOCodes} reverts the behavior
* back to prior to Java SE 17 one. If the system property is set
* to {@code true}, those three current language codes are mapped to their
* backward compatible forms.
* back to that of before Java SE 17. If the system property is set to
* {@code true}, those three current language codes are mapped to their
* backward compatible forms. The property is only read at Java runtime
* startup and subsequent calls to {@code System.setProperty()} will
* have no effect.
*
* <p>The APIs added in 1.7 map between the old and new language codes,
* maintaining the mapped codes internal to Locale (so that

1 comment on commit 3e02224

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 3e02224 Jun 30, 2021

Please sign in to comment.