Skip to content

Instantly share code, notes, and snippets.

@ykubota ykubota/Usage.md
Last active Apr 1, 2016

Embed
What would you like to do?
Get specified jdk8 version sources from openjdk repository
if [ $# -ne 1 ]; then
echo "usage: bash $0 <jdk8uXX>"
exit 1
fi
TARGET=`echo $1 | tr '[A-Z]' '[a-z]'`
hg clone http://hg.openjdk.java.net/jdk8u/jdk8u ${TARGET}
cd ${TARGET}
bash get_source.sh
HGTAG=`hg tags | grep ${TARGET} | head -n1 | cut -d" " -f1`
bash ./common/bin/hgforest.sh checkout ${HGTAG}

Usage

bash get_specified_source.sh jdk8u77

Note: This script does not validate the input.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.