Jar files identical (linux_x64)
Erik Joelsson
erik.joelsson at oracle.com
Mon Jan 23 00:59:07 PST 2012
As of today, the jar files in the j2sdk image generated by the new build
are identical to the old build on linux_x64. The only differing classes
are the Version classes. From now on, we would like to keep it this way,
so we can use the compareimage script as a baseline test for any changes
we make.
Here are instructions for how to run the compareimage script.
First you need a reference build to compare against. You get this by
building in the old way from the same source. Make sure you use Ant
1.7.1 as newer ants add a bunch of empty package-info.class files which
will confuse the output of compareimages.
When building using the new build system you need to run 'make images'
to get the j2sdk and j2re images built.
When both are done building, comparing is done with:
common/bin/compareimage.sh build/linux-amd64/j2sdk-image/
build/linux-amd64-server-release/images/j2sdk-image/
For more information on how to use the script, see the documentation in
the header comment in the script itself.
For reference, here is my current output:
erik at moya:/localhome/mercurial/build-infra-jdk8$
common/bin/compareimage.sh build/linux-amd64/j2sdk-image/
build/linux-amd64-server-release/images/j2sdk-image/
Comparing build/linux-amd64/j2sdk-image/ to
build/linux-amd64-server-release/images/j2sdk-image/
Directory structure...Identical!
File names...Identical!
Zip files...
Jar files...
Differing files in jre/lib/rt.jar
/sun/misc/Version.class
Differing files in lib/jconsole.jar
/sun/tools/jconsole/Version.class
Differing files in lib/tools.jar
/com/sun/tools/javac/resources/version.class
/com/sun/tools/javah/resources/version.class
/com/sun/tools/javap/resources/version.class
Libraries...
Identical: demo/jvmti/compiledMethodLoad/lib/libcompiledMethodLoad.so
Identical: demo/jvmti/gctest/lib/libgctest.so
Identical symbols AND size, BUT not bytewise identical:
demo/jvmti/heapTracker/lib/libheapTracker.so
Identical: demo/jvmti/heapViewer/lib/libheapViewer.so
Identical symbols BUT NEW size : demo/jvmti/hprof/lib/libhprof.so
Identical symbols AND size, BUT not bytewise identical:
demo/jvmti/minst/lib/libminst.so
Identical symbols AND size, BUT not bytewise identical:
demo/jvmti/mtrace/lib/libmtrace.so
Identical: demo/jvmti/versionCheck/lib/libversionCheck.so
Identical symbols AND size, BUT not bytewise identical:
demo/jvmti/waiters/lib/libwaiters.so
Identical: jre/lib/amd64/headless/libmawt.so
Identical: jre/lib/amd64/jli/libjli.so
Identical symbols AND size, BUT not bytewise identical:
jre/lib/amd64/libattach.so
Identical: jre/lib/amd64/libawt.so
Identical symbols AND size, BUT not bytewise identical:
jre/lib/amd64/libdt_socket.so
Differences, content AND size : jre/lib/amd64/libfontmanager.so
Identical: jre/lib/amd64/libhprof.so
Identical: jre/lib/amd64/libinstrument.so
Identical: jre/lib/amd64/libj2gss.so
Identical: jre/lib/amd64/libj2pcsc.so
Identical: jre/lib/amd64/libj2pkcs11.so
Differences, content AND size : jre/lib/amd64/libjaas_unix.so
Identical: jre/lib/amd64/libjava_crw_demo.so
Identical: jre/lib/amd64/libjava.so
Identical symbols AND size, BUT not bytewise identical:
jre/lib/amd64/libjawt.so
Identical symbols BUT NEW size : jre/lib/amd64/libjdwp.so
Identical symbols AND size, BUT not bytewise identical:
jre/lib/amd64/libjpeg.so
Identical symbols AND size, BUT not bytewise identical:
jre/lib/amd64/libjsdt.so
Identical symbols AND size, BUT not bytewise identical:
jre/lib/amd64/libjsig.so
Identical: jre/lib/amd64/libjsoundalsa.so
Identical: jre/lib/amd64/libjsound.so
Identical symbols AND size, BUT not bytewise identical:
jre/lib/amd64/liblcms.so
Identical: jre/lib/amd64/libmanagement.so
Identical: jre/lib/amd64/libmlib_image.so
Identical: jre/lib/amd64/libnet.so
Identical: jre/lib/amd64/libnio.so
Identical: jre/lib/amd64/libnpt.so
Identical symbols AND size, BUT not bytewise identical:
jre/lib/amd64/libsaproc.so
Identical symbols AND size, BUT not bytewise identical:
jre/lib/amd64/libsctp.so
Identical: jre/lib/amd64/libsplashscreen.so
Identical symbols AND size, BUT not bytewise identical:
jre/lib/amd64/libsunec.so
Differences, content AND size : jre/lib/amd64/libunpack.so
Identical symbols AND size, BUT not bytewise identical:
jre/lib/amd64/libverify.so
Identical symbols AND size, BUT not bytewise identical:
jre/lib/amd64/libzip.so
Identical symbols AND size, BUT not bytewise identical:
jre/lib/amd64/server/libjsig.so
Identical symbols AND size, BUT not bytewise identical:
jre/lib/amd64/server/libjvm.so
Identical: jre/lib/amd64/xawt/libmawt.so
Executables...
Identical symbols AND size, BUT not bytewise identical: bin/appletviewer
Identical symbols AND size, BUT not bytewise identical: bin/apt
Identical symbols AND size, BUT not bytewise identical: bin/extcheck
Identical symbols AND size, BUT not bytewise identical: bin/idlj
Identical symbols AND size, BUT not bytewise identical: bin/jar
Identical symbols AND size, BUT not bytewise identical: bin/jarsigner
Identical symbols AND size, BUT not bytewise identical: bin/java
Identical symbols BUT NEW size : bin/javac
Identical symbols AND size, BUT not bytewise identical: bin/javadoc
Identical symbols AND size, BUT not bytewise identical: bin/javah
Identical symbols AND size, BUT not bytewise identical: bin/javap
Identical: bin/java-rmi.cgi
Identical symbols AND size, BUT not bytewise identical: bin/jcmd
Identical symbols AND size, BUT not bytewise identical: bin/jconsole
Identical symbols AND size, BUT not bytewise identical: bin/jdb
Identical symbols AND size, BUT not bytewise identical: bin/jhat
Identical symbols AND size, BUT not bytewise identical: bin/jinfo
Identical symbols AND size, BUT not bytewise identical: bin/jmap
Identical symbols AND size, BUT not bytewise identical: bin/jps
Identical symbols AND size, BUT not bytewise identical: bin/jrunscript
Identical symbols AND size, BUT not bytewise identical: bin/jsadebugd
Identical symbols AND size, BUT not bytewise identical: bin/jstack
Identical symbols BUT NEW size : bin/jstat
Identical symbols AND size, BUT not bytewise identical: bin/jstatd
Identical symbols AND size, BUT not bytewise identical: bin/keytool
Identical symbols AND size, BUT not bytewise identical: bin/native2ascii
Identical symbols AND size, BUT not bytewise identical: bin/orbd
Identical symbols AND size, BUT not bytewise identical: bin/pack200
Identical symbols AND size, BUT not bytewise identical: bin/policytool
Identical symbols AND size, BUT not bytewise identical: bin/rmic
Identical symbols AND size, BUT not bytewise identical: bin/rmid
Identical symbols AND size, BUT not bytewise identical: bin/rmiregistry
Identical symbols AND size, BUT not bytewise identical: bin/schemagen
Identical symbols AND size, BUT not bytewise identical: bin/serialver
Identical symbols AND size, BUT not bytewise identical: bin/servertool
Identical symbols AND size, BUT not bytewise identical: bin/tnameserv
Differences, content AND size : bin/unpack200
Identical symbols AND size, BUT not bytewise identical: bin/wsgen
Identical symbols AND size, BUT not bytewise identical: bin/wsimport
Identical symbols AND size, BUT not bytewise identical: bin/xjc
Identical symbols BUT NEW size : jre/bin/java
Identical symbols BUT NEW size : jre/bin/keytool
Identical symbols BUT NEW size : jre/bin/orbd
Identical symbols BUT NEW size : jre/bin/pack200
Identical symbols BUT NEW size : jre/bin/policytool
Identical symbols BUT NEW size : jre/bin/rmid
Identical symbols BUT NEW size : jre/bin/rmiregistry
Identical symbols BUT NEW size : jre/bin/servertool
Identical symbols BUT NEW size : jre/bin/tnameserv
Differences, content AND size : jre/bin/unpack200
Identical symbols BUT NEW size : jre/lib/amd64/libjsig.debuginfo
Identical symbols BUT NEW size : jre/lib/amd64/libsaproc.debuginfo
Identical symbols BUT NEW size : jre/lib/amd64/server/libjvm.debuginfo
Identical: jre/lib/jexec
Identical: lib/jexec
More information about the build-infra-dev
mailing list