ICU4J 63 went beyond Android API level 21

Description

ICU-13413 "require Java 7 for ICU4J" really said

  • Move up from Java 6 to Java 7. Require things like Locale.forLanguageTag().

  • We should keep ICU4J working for Android Lollipop, API level 21.

For the most part, Android API level 21 provides for Java 7 as far as we care.
However, java.util.Locale.Category was added only in API level 24 which is much too recent.

ICU4J 63 ULocale.getDefault(Category) and setDefault(Category) are using java.util.Locale.Category, breaking apps intended to run on Lollipop and Marshmallow devices.

We should revert these functions to their ICU4J 62 versions.

Assignee

Markus Scherer

Reporter

Markus Scherer

Components

Labels

Reviewer

None

Priority

major

Time Needed

Hours

Fix versions

Configure