Skip to content

Commit

Permalink
ICU-22723 BRS76 Add ICU4J API signature file
Browse files Browse the repository at this point in the history
  • Loading branch information
yumaoka committed Sep 30, 2024
1 parent dbb71b7 commit 8bdb306
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 2 deletions.
3 changes: 1 addition & 2 deletions icu4j/APIChangeReport.html
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,6 @@ <h3>Package com.ibm.icu.util</h3>
<ul>
<li><span style='color:orange'>(draft)</span> public static final MeasureUnit LIGHT_SPEED</li>
<li><span style='color:orange'>(draft)</span> public static final MeasureUnit NIGHT</li>
<li><span style='color:orange'>(draft)</span> public static final MeasureUnit PORTION_PER_1E9</li>
</ul>
VersionInfo
<ul>
Expand All @@ -241,6 +240,6 @@ <h3>Package com.ibm.icu.util</h3>
</ul>

<hr/>
<p><i><font size="-1">Contents generated by ReportAPI tool on Tue Sep 24 13:15:44 PDT 2024<br/>© 2024 and later: Unicode, Inc. and others. License & terms of use: <a href="http://www.unicode.org/copyright.html">http://www.unicode.org/copyright.html</a></font></i></p>
<p><i><font size="-1">Contents generated by ReportAPI tool on Sat Sep 28 02:38:46 EDT 2024<br/>© 2024 and later: Unicode, Inc. and others. License & terms of use: <a href="http://www.unicode.org/copyright.html">http://www.unicode.org/copyright.html</a></font></i></p>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -308,13 +308,15 @@ public static enum ErrorHandlingBehavior {
* @internal ICU 76 technology preview
* @deprecated This API is for technology preview only.
*/
@Deprecated
BEST_EFFORT,
/**
* Signal all {@code MessageFormat} errors by throwing a {@link RuntimeException}.
*
* @internal ICU 76 technology preview
* @deprecated This API is for technology preview only.
*/
@Deprecated
STRICT
}

Expand Down
6 changes: 6 additions & 0 deletions icu4j/main/core/src/main/java/com/ibm/icu/util/ULocale.java
Original file line number Diff line number Diff line change
Expand Up @@ -4270,13 +4270,15 @@ public static class RegionValidateMap {
* @internal Visible For Testing
* @deprecated This API is ICU internal only.
*/
@Deprecated
public RegionValidateMap() {
this.map = Arrays.copyOf(gValidRegionMap, gValidRegionMap.length);
}
/**
* @internal Visible For Testing
* @deprecated This API is ICU internal only.
*/
@Deprecated
public boolean isSet(String region) {
int index = value(region);
if (index < 0) {
Expand All @@ -4288,13 +4290,15 @@ public boolean isSet(String region) {
* @internal Visible For Testing
* @deprecated This API is ICU internal only.
*/
@Deprecated
public boolean equals(RegionValidateMap that) {
return Arrays.equals(map, that.map);
}
/**
* @internal Visible For Testing
* @deprecated This API is ICU internal only.
*/
@Deprecated
protected int value(String region) {
if (region.matches("[a-zA-Z][a-zA-Z]")) {
region = region.toLowerCase();
Expand All @@ -4307,6 +4311,7 @@ protected int value(String region) {
* @internal Visible For Testing
* @deprecated This API is ICU internal only.
*/
@Deprecated
protected int[] map;
static private int[] gValidRegionMap = {
0xeedf597c, 0xdeddbdef, 0x15943f3f, 0x0e00d580,
Expand All @@ -4321,6 +4326,7 @@ protected int value(String region) {
* @internal Visible For Testing
* @deprecated This API is ICU internal only.
*/
@Deprecated
public static RegionValidateMap BUILTIN = new RegionValidateMap();
}
}
Binary file removed icu4j/tools/build/icu4j66.api3.gz
Binary file not shown.
Binary file added icu4j/tools/build/icu4j76.api3.gz
Binary file not shown.

0 comments on commit 8bdb306

Please sign in to comment.