diff options
author | Tobias Thierer <tobiast@google.com> | 2017-12-11 21:05:01 +0000 |
---|---|---|
committer | Tobias Thierer <tobiast@google.com> | 2017-12-13 01:45:30 +0000 |
commit | 370b522b3cb1bbd8f38c28133af12b1ab8507dad (patch) | |
tree | 67499be3c1314a7d7b7b77a9280cdd0f6869478b /annotations/generate_annotated_java_files.py | |
parent | c99342bb4ce22d842e806d9ebf2f9fcc761c05fb (diff) |
Update upstream comparison/snapshotting tools.
- Read list of files/relPaths from openjdk_java_files.bp
which has replaced the .mk file previously used.
- Read .java files generated during OpenJDK's build process
(bash ./configure ; make JOBS=10 jdk).
After this CL, the difference to generated classes such as:
java.lang.invoke.VarHandle
java.nio.*Buffer
java.nio.*Exception
java.nio.channels.*Exception
java.nio.charset.Charset{En,De}coder
java.nio.charset.*Exception
sun.misc.Version
sun.nio.ch.SocketOptionRegistry
sun.nio.fs.UnixConstants
is now reported by libcorecompare-upstreams and included in
the snapshot taken by libcore-copy-upstream-files.
Test: make libcore-copy-upstream-files && java -jar \
${ANDROID_HOST_OUT}/framework/libcore-copy-upstream-files.jar \
~/ojluni-upstreams.new/
Test: make libcore-compare-upstreams && java -jar \
${ANDROID_HOST_OUT}/framework/libcore-compare-upstreams.jar \
> ~/compare-upstreams.csv
Test: Checked that the following shows the added files (it also
shows that java/lang/StringCoding.java was removed because it
was removed from openjdk_java_files.bp):
cd ; meld ojluni-upstreams{,.new}
Bug: 70329267
Change-Id: I7eb6b8e600e3c72ef6bb054098290c0542ef62a4
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions