8073965: Bring compare.sh up to date with JDK 9

Reviewed-by: tbell, ihse
2 files changed