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
1 file changed