File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ VENDOR_FLAGS="$VENDOR_FLAGS --with-vendor-vm-bug-url=https://github.com/ev3dev-l
147147
148148# OpenJDK 9
149149if [ " $JDKVER " == " 9" ]; then
150- VERSION_POLICY=" latest_general_availability "
150+ VERSION_POLICY=" jdk-9.0.4+11 "
151151 JAVA_SCM=" git"
152152 JAVA_REPO=" https://github.com/AdoptOpenJDK/openjdk-jdk9u.git"
153153 PATCHVER=" jdk9"
@@ -171,7 +171,7 @@ if [ "$JDKVER" == "9" ]; then
171171
172172# OpenJDK 10
173173elif [ " $JDKVER " == " 10" ]; then
174- VERSION_POLICY=" latest_general_availability "
174+ VERSION_POLICY=" jdk-10.0.2+13 "
175175 JAVA_SCM=" git"
176176 JAVA_REPO=" https://github.com/AdoptOpenJDK/openjdk-jdk10u.git"
177177 PATCHVER=" jdk10"
Original file line number Diff line number Diff line change @@ -47,8 +47,9 @@ if [ ! -d "$JDKDIR" ]; then
4747 fi
4848
4949 else
50- echo " Error: unknown VERSION_POLICY: \" $VERSION_POLICY \" . Please fix config.sh." >&2
51- exit 1
50+ # * Direct model: for JDK9/JDK10; specify the revision directly
51+ JAVA_TARGET=" $VERSION_POLICY "
52+ SUFFIX=" ev3"
5253 fi
5354
5455 # download it
You can’t perform that action at this time.
0 commit comments