scuffed-code/icu4j/tools/build
Yoshito Umaoka b263cbbd1a ICU-20795 BRS65 ICU4J 65 API signature file
Deleted ICU4J 55 API signature file
2019-09-05 09:37:23 -04:00
..
.settings ICU-13413 Updated ULocale class to directly calls Java 7 Locale methods 2018-09-27 14:27:38 -07:00
src/com/ibm/icu/dev/tool ICU-20150 API status of equals()/hashCode() should match the ICU class's status (#153) 2018-09-27 14:27:41 -07:00
src-pre8/com/ibm/icu/dev/tool/docs ICU-12739 Fixed svn properties. 2016-09-26 21:45:06 +00:00
.classpath ICU-12739 JDK8 as the reference platform - use Java 8 version of ICUTaglet implementation by default. 2016-09-26 16:41:39 +00:00
.project ICU-6951 Merging ICU4J new source layout changes to trunk 2009-06-16 05:52:23 +00:00
build-tools-build.launch ICU-6951 Merging ICU4J new source layout changes to trunk 2009-06-16 05:52:23 +00:00
build.properties ICU-13121 Use ASCII style copyright comment in all properties file. 2018-05-21 00:55:46 +00:00
build.xml ICU-13413 Java 7 migration in build scripts and eclipse project files 2018-09-27 14:27:38 -07:00
icu4j56.api3.gz ICU-12132 Regenerated ICU4J 56.1 API signature data file with JDK 7 javadoc. 2016-01-30 06:33:18 +00:00
icu4j57.api3.gz ICU-12186 Added ICU 57 API signature file. 2016-03-08 06:10:34 +00:00
icu4j58.api3.gz ICU-12716 Corrected API comment for newly added hashCode() methods, added a test case for VersionInfo#hashCode() and updated coverage-exclusion.txt. Also updated the API change report and API signature file. 2016-09-29 10:50:23 +00:00
icu4j59.api3.gz ICU-13109 Updated API change report and API signature file that need to be updated with the previous commit (r40018). 2017-04-10 14:50:16 +00:00
icu4j60.api3.gz ICU-13358 ICU4J 60 API signature file. 2017-10-09 14:38:15 +00:00
icu4j61.api3.gz ICU-13581 Added 61 api signature file, purged very old api signature files. Fixed an issue DeprecatedAPIChecker. Fixed API doc problem in RBBIDataWrapper. 2018-03-06 20:10:09 +00:00
icu4j62.api3.gz ICU-13667 BRS62 - added ICU4J 62 API signature file (and deleted ICU4J 52 API signature file). 2018-05-29 21:12:48 +00:00
icu4j63.api3.gz ICU-20119 BRS63RC Add ICU4J API signature file 2018-09-28 15:45:07 +02:00
icu4j64.api3.gz ICU-20515 BRS64.2 Updated ICU4J API signature file and API change report 2019-04-09 22:17:11 -04:00
icu4j65.api3.gz ICU-20795 BRS65 ICU4J 65 API signature file 2019-09-05 09:37:23 -04:00
manifest.stub ICU-13120 Updated Specification/Implementation/Bundle vendor and copyright in manifest files from IBM to Unicode. 2017-04-10 18:39:10 +00:00
README.txt ICU-12564 Update copyright notice in ICU4J 2016-06-22 22:12:16 +00:00

© 2016 and later: Unicode, Inc. and others. License & terms of use: http://www.unicode.org/copyright.html#License
Copyright (C) 1996-2004, International Business Machines Corporation and
others. All Rights Reserved.

-------------------------------------------
Using the GatherAPIData and ReportAPI tools
-------------------------------------------

These two tools are used together to generate reports about changes in
supported API between versions of ICU4J.


GatherAPIData 

GatherAPIData uses javadoc to process the ICU4J source files and
generate a file listing information about the public API, including
the ICU4J status (draft, stable, deprecated, obsolete).  It excludes
private API, API marked @internal.  The file is written as text, so it
is human-readable, but it is a bit verbose.  To save space, the file
can be zip'd or gzip'd (using flags passed to the tool), which will
reduce the size by about a factor of 10.

GatherAPIData requires javadoc and is currently based on sun jdk
1.4.2.  JavaDoc is internal (I believe) so you need a reference jvm
from Sun to compile the tool, but it can be run against any 1.4 JDK
(at least, those from Sun).  Instructions in the source file show how
it can be invoked.

GatherAPIData should be passed all the packages that need reporting.
Currently, public api is only in the lang, math, text, and util
subpackages of com.ibm.icu.


ReportAPI 

ReportAPI takes two api files generated by GatherAPIData and reports
on removals, changes, and additions to the API.  It does this by
comparing the API information in the two API files.  When new classes
are added, only the class is listed, not its entire API, and similarly
when a class is deleted.  When APIs with the same name and signature
are changed (visibility, status, inheritance) these changes are listed
by showing the old and new versions of the API.

ReportAPI is not particularly smart, and in particular, does not know
about inherited API.  So for example, moving public API from a class
to a base class is reported as a deletion of API from the original
class, even though the effective API on the original class is
unchanged by this.

ReportAPI also does not know about Java class files, so for example it
cannot be used to compare com.ibm.icu.lang.UCharacter against
java.lang.Character.  This might be provided in a later release.

For these reasons, in general it is best to compare two successive
versions of ICU4J against each other, rather than radically different
versions.  A large number of changes can show up, many of which might
fall into these 'innocuous' categories.

ReportAPI can generate either plain text or html reports.  Since it
only requires the data files and does not rely on JavaDoc, it is more
straightforward to invoke.

ReportAPI uses the file extension to determine how to uncompress the
api data files.  It expects '.zip' for files that have been compressed
using zip, and '.gz' for files that have been compressed using gzip.
The GatherAPIData utility automatically appends these extensions when
compression is used.

API Data Files

API Data files for ICU4J 2.8 and 3.0 are in this directory.  The
intent is to store data files for each release version of ICU4J, to
facilitate comparison using the ReportAPI tool.  Of course, they can
always be regenerated using the GenerateAPI and the sources of a
particular ICU4J release.

The format of the API data file is straightforward.  The first line of
the file is the header, successive lines are the api information.
Each line consists of a number of tokens, each followed by a
semi-colon (incuding the last token on the line).

The header line contains the version number, the 'name' of the version
of ICU4J represented by the file, and a 'base directory' field
(currently not fully implemented).

The following lines contain data generated by the APIInfo class, one
line per class or method.  The tokens are status, visibility, static,
final, synchronized, abstract, type, package, containing class, name,
and 'signature' (which varies by the type of object).  For classes,
the 'signature' is the immediate inheritance of the class.  For
fields, the 'signature' is the type of the field.  For methods, the
'signature' is the function signature. All fields are always present.

For more information, please see APIInfo.java.

-------