Skip to content

Commit 0525ee9

Browse files
committed
ICU-23056 BRS78rc Add ICU4J API signature file
1 parent 8628080 commit 0525ee9

File tree

10 files changed

+42
-9
lines changed

10 files changed

+42
-9
lines changed

docs/processes/release/tasks/docs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ API change report.
190190

191191
1. Run `releases_tools/api_reports.sh` at `<icu4j_root>`
192192
2. Resolve any warnings before proceeding.
193-
3. The output file `icu4j<ver>.api3.gz` is created in `<icu4j_root>/out` directory.
193+
3. The output file `icu4j<ver>.api3.gz` is created in `<icu4j_root>/target` directory.
194194
4. Copy the output .gz file to `<icu4j_root>/tools/build` directory and check in the
195195
file to the repository.
196196
5. You may delete very old versions of the API signature files. We keep last 5

icu4j/APIChangeReport.html

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,10 @@ <h3>Package com.ibm.icu.message2</h3>
113113

114114
<h3>Package com.ibm.icu.text</h3>
115115
<ul>
116+
BreakIterator
117+
<ul>
118+
<li><span style='color:green'>(stable)</span> public java.lang.Object <i>clone</i>()</li>
119+
</ul>
116120
Collator
117121
<ul>
118122
<li><span style='color:green'>(stable)</span> public java.lang.Object <i>clone</i>()</li>
@@ -217,10 +221,6 @@ <h2>Changed in ICU4J 78 (old, new)</h2>
217221

218222
<h3>Package com.ibm.icu.text</h3>
219223
<ul>
220-
BreakIterator
221-
<ul>
222-
<li> <span style='color:green'>(stable)</span> public java.lang.Object <i>clone</i>()</br>
223-
<span style='color:green'>(stable)</span> public com.ibm.icu.text.BreakIterator <i>clone</i>()</li>
224224
<li> <span style='color:green'>(stable)</span> public class <i>DateIntervalFormat</i> extends com.ibm.icu.text.UFormat</br>
225225
<span style='color:green'>(stable)</span> public class <i>DateIntervalFormat</i> extends com.ibm.icu.text.UFormat implements java.lang.Cloneable</li>
226226
<li> <span style='color:green'>(stable)</span> public class <i>DecimalFormat</i> extends com.ibm.icu.text.NumberFormat</br>
@@ -229,7 +229,6 @@ <h3>Package com.ibm.icu.text</h3>
229229
<span style='color:green'>(stable)</span> public class <i>MessageFormat</i> extends com.ibm.icu.text.UFormat implements java.lang.Cloneable</li>
230230
<li> <span style='color:green'>(stable)</span> public abstract class <i>NumberFormat</i> extends com.ibm.icu.text.UFormat</br>
231231
<span style='color:green'>(stable)</span> public abstract class <i>NumberFormat</i> extends com.ibm.icu.text.UFormat implements java.lang.Cloneable</li>
232-
</ul>
233232
NumberFormat
234233
<ul>
235234
<li> <span style='color:green'>(stable)</span> public java.lang.Object <i>clone</i>()</br>
@@ -485,7 +484,10 @@ <h3>Package com.ibm.icu.segmenter</h3>
485484

486485
<h3>Package com.ibm.icu.text</h3>
487486
<ul>
488-
<li><span style='color:orange'>(draft)</span> public class <i>BreakTransliteratorAccess</i></li>
487+
BreakIterator
488+
<ul>
489+
<li><span style='color:green'>(stable)</span> public BreakIterator <i>clone</i>()</li>
490+
</ul>
489491
Collator
490492
<ul>
491493
<li><span style='color:green'>(stable)</span> public Collator <i>clone</i>()</li>
@@ -630,6 +632,6 @@ <h3>Package com.ibm.icu.util</h3>
630632
</ul>
631633

632634
<hr/>
633-
<p><i><font size="-1">Contents generated by ReportAPI tool on Fri Sep 19 23:29:08 UTC 2025<br/>© 2025 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>
635+
<p><i><font size="-1">Contents generated by ReportAPI tool on Fri Sep 26 13:26:50 PDT 2025<br/>© 2025 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>
634636
</body>
635637
</html>

icu4j/main/core/src/main/java/com/ibm/icu/text/DateFormatSymbols.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1926,6 +1926,7 @@ private DateFormatSymbols(ULocale desiredLocale, ICUResourceBundle b, String cal
19261926
* @internal
19271927
* @deprecated This API is ICU internal only.
19281928
*/
1929+
@Deprecated
19291930
protected String[] initEras(String erasKey, Map<String, Map<String, String>> maps,
19301931
ICUResourceBundle calBundle, int maxEra) {
19311932
Map<String, String> eraNamesTable = maps.get(erasKey);

icu4j/perf-tests/src/main/java/com/ibm/icu/text/BreakTransliteratorAccess.java

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,38 @@
22
// License & terms of use: http://www.unicode.org/copyright.html
33
package com.ibm.icu.text;
44

5+
/**
6+
* This provides access for testing to the non-public {@code BreakTransliterator}.
7+
*
8+
* @internal
9+
* @deprecated This API is ICU internal only.
10+
*/
11+
@Deprecated
512
public class BreakTransliteratorAccess {
6-
// Non-public access
13+
14+
/**
15+
* The private constructor.
16+
*
17+
* <p>
18+
* The internal} and deprecated tags prevent the otherwise public default constuctor
19+
* from being collected for the various API reports and checks.
20+
*
21+
* @internal
22+
* @deprecated This API is ICU internal only.
23+
*/
24+
@Deprecated
25+
private BreakTransliteratorAccess() {
26+
// Prevent creation, and prevent the otherwise public default constuctor
27+
// from being collected for the various API reports and checks.
28+
}
29+
30+
/**
31+
* The accessor method. Public only for testing.
32+
*
33+
* @internal
34+
* @deprecated This API is ICU internal only.
35+
*/
36+
@Deprecated
737
public static Transliterator newInstance() {
838
return new BreakTransliterator("Any-Break", UnicodeSet.ALL_CODE_POINTS);
939
}

icu4j/tools/build/icu4j68.api3.gz

-62.4 KB
Binary file not shown.

icu4j/tools/build/icu4j69.api3.gz

-62.8 KB
Binary file not shown.

icu4j/tools/build/icu4j70.api3.gz

-63.1 KB
Binary file not shown.

icu4j/tools/build/icu4j71.api3.gz

-63.2 KB
Binary file not shown.

icu4j/tools/build/icu4j72.api3.gz

-66.1 KB
Binary file not shown.

icu4j/tools/build/icu4j78.api3.gz

69.1 KB
Binary file not shown.

0 commit comments

Comments
 (0)