mirror of
https://github.com/corda/corda.git
synced 2024-12-27 08:22:35 +00:00
.. | ||
compare-versions.sh | ||
find-exclusions.sh | ||
flatten.sh | ||
generate-report.sh | ||
README.md | ||
report-template.html |
Overview
This folder has a set of utilities for generating a report outlining the
differences between two versions of the OpenJDK project, more specifically, the
rt.jar
build artefact across versions.
Files
The following scripts and utilities are used:
compare-versions.sh
- extract exclusions and binary diff between JDK8 and Deterministic JVMfind-exclusions.sh
- utility used in the above script to find JavaDoc exclusions in code basegenerate-report.sh
- once the data has been gathered withcompare-versions.sh
, this script can be used to generate an HTML reportreport-template.html
- the template to use for the HTML reportflatten.sh
- flatten the file hierarchy of supporting diff and exclusion files into a single directory
Dependencies
- Tweaked version of the Package Changes Analyzer (corda/pkgdiff)
Assumptions
The first two scripts are intended to be run from the root directory of the OpenJDK project, and assume two built JAR files:
jdk-8.0.0.jar
, which is thert.jar
build artefact for branchjdk8u/jdk8u
jdk-8.0.0-determinstic.jar
, which is thert.jar
build artefact for branchdeterministic-jvm8
How to run?
From the root folder of your cloned OpenJDK project:
- Assuming that the files in this folder is in a subfolder
tools
of the OpenJDK root folder - Build
jdk8u/jdk8u
and copybuild/<target>/images/lib/rt.jar
tojdk-8.0.0.jar
- Build
deterministic-jvm8
and copybuild/<target>/images/lib/rt.jar
tojdk-8.0.0-deterministic.jar
- Run
bash tools/compare-versions.sh
- Make a copy of the resulting report:
report/