summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorTobias Thierer <tobiast@google.com>2018-07-18 15:17:34 +0100
committerTobias Thierer <tobiast@google.com>2018-07-18 15:50:58 +0100
commite721c0d4023d17384203126ee367d2d16fc074ad (patch)
tree5175c95a92f44bd542b051e422a92f3ccb5c4758 /annotations/generate_annotated_java_files.py
parentb06b96bf884f3d0f159a535dde25440bb452a6db (diff)
Upstream comparison: Basic support for ByteBufferAs<X>Buffer.
Unlike most ojluni .java files derived from OpenJDK, the six files ByteBufferAs{Char,Double,Float,Int,Long,Short}Buffer.java do not correspond 1:1 to an upstream file; upstream instead has 24 .java files generated from a single .template file. This CL tweaks the upstream tooling to consider those six files to be derived from ByteBufferAs<X>BufferB.java (upstream's file specialized on read-write big-endian). Because of the nonexact correspondence, this is only of limited use for verification purposes; further work could potentially improve this ( http://b/111583940#comment4 ). The benefit of this CL is the upstream comparison tools will have at least *some* upstream file to compare against, rather than not being able to find any corresponding upstream file at all. Bug: 111583940 Test: Ran libcore-compare-upstream and libcore-copy-upstream-files to update snapshots and the verification tracking spreadsheet: make libcore-copy-upstream-files && rm -rf ~/ojluni-upstreams && \ java -jar out/host/linux-x86/framework/libcore-copy-upstream-files.jar \ ~/ojluni-upstreams make libcore-compare-upstreams && java -jar \ out/host/linux-x86/framework/libcore-compare-upstreams.jar \ > ~/upstreams.tsv Change-Id: Iac1f4f0fc593c2d432a2bf4ab5669eed6587c414
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions