Skip to content

Instantly share code, notes, and snippets.

@ykubota ykubota/
Last active Mar 26, 2020

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
TARGET=`echo $1 | tr '[A-Z]' '[a-z]'`
hg clone ${TARGET}
cd ${TARGET}
HGTAG=`hg tags | grep ${TARGET} | head -n1 | cut -d" " -f1`
bash ./common/bin/ checkout ${HGTAG}


bash 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.