diff --git a/icu4j/APIChangeReport.html b/icu4j/APIChangeReport.html index e2a0c4d7e94..b136de45e90 100644 --- a/icu4j/APIChangeReport.html +++ b/icu4j/APIChangeReport.html @@ -109,12 +109,157 @@ MeasureUnit

Package com.ibm.icu.lang

+

Package com.ibm.icu.message2

+ +

Package com.ibm.icu.number


-

Contents generated by ReportAPI tool on Wed Feb 28 11:47:14 PST 2024
© 2024 and later: Unicode, Inc. and others. License & terms of use: http://www.unicode.org/copyright.html

+

Contents generated by ReportAPI tool on Mon Mar 25 13:11:50 EDT 2024
© 2024 and later: Unicode, Inc. and others. License & terms of use: http://www.unicode.org/copyright.html

diff --git a/icu4j/main/core/src/main/java/com/ibm/icu/util/BuddhistCalendar.java b/icu4j/main/core/src/main/java/com/ibm/icu/util/BuddhistCalendar.java index 0abeffffb73..79be6f45223 100644 --- a/icu4j/main/core/src/main/java/com/ibm/icu/util/BuddhistCalendar.java +++ b/icu4j/main/core/src/main/java/com/ibm/icu/util/BuddhistCalendar.java @@ -245,7 +245,7 @@ public class BuddhistCalendar extends GregorianCalendar { return "buddhist"; } - /* + /** * {@inheritDoc} * @internal * @deprecated This API is ICU internal only. diff --git a/icu4j/main/core/src/main/java/com/ibm/icu/util/Calendar.java b/icu4j/main/core/src/main/java/com/ibm/icu/util/Calendar.java index 1ab0f72dfbd..926696cbae1 100644 --- a/icu4j/main/core/src/main/java/com/ibm/icu/util/Calendar.java +++ b/icu4j/main/core/src/main/java/com/ibm/icu/util/Calendar.java @@ -4090,7 +4090,7 @@ public abstract class Calendar implements Serializable, Cloneable, Comparable", ""}, + {"com.ibm.icu.text.Normalizer", "clone"}, + {"com.ibm.icu.text.PersonNameFormatter", "toString"}, + {"com.ibm.icu.text.SimplePersonName", "toString"}, + }; + public void checkConsistency() { Map classMap = new TreeMap<>(); // Build a map of APIInfo for classes, indexed by class name @@ -116,8 +128,19 @@ public class APIStatusConsistencyChecker { String classVer = clsApi.getStatusVersion(); if (methodStatus != classStatus || !Objects.equals(methodVer, classVer)) { - pw.println("## Error ## " + methodName + " in " + fullClassName); - errCount++; + boolean isExcepted = false; + for (String[] exceptMethod : CONSISTENCY_EXCEPTIONS) { + if (exceptMethod[0].equals(fullClassName) && exceptMethod[1].equals(methodName)) { + isExcepted = true; + break; + } + } + if (isExcepted) { + pw.println("## Info ## " + methodName + " in " + fullClassName + " (included in the exception list)"); + } else { + pw.println("## Error ## " + methodName + " in " + fullClassName); + errCount++; + } } } }