Skip to content

Commit 6cfa761

Browse files
committed
Add JDKVER for OpenJDK Loom (Fibers)
1 parent b4bad3d commit 6cfa761

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

scripts/config.sh

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -281,11 +281,16 @@ elif [ "$JDKVER" == "13" ]; then
281281
SFLT_NEEDED=true
282282
fi
283283

284-
# OpenJDK Master+dev
285-
elif [ "$JDKVER" == "tip" ]; then
286-
VERSION_POLICY="latest_tag"
284+
# OpenJDK Loom & Master+dev
285+
elif [ "$JDKVER" == "loom" ] || [ "$JDKVER" == "tip" ]; then
286+
if [ "$JDKVER" == "loom" ]; then
287+
VERSION_POLICY="latest_commit"
288+
JAVA_REPO="https://github.com/openjdk/loom.git"
289+
else
290+
VERSION_POLICY="latest_tag"
291+
JAVA_REPO="https://github.com/openjdk/jdk.git"
292+
fi
287293
JAVA_SCM="git"
288-
JAVA_REPO="https://github.com/openjdk/jdk.git"
289294
PATCHVER="jdk13"
290295
AUTOGEN_STYLE="v2"
291296
if [ "$BUILDER_TYPE" = "native" ]; then
@@ -321,6 +326,7 @@ else
321326
echo "JDKVER=11" >&2
322327
echo "JDKVER=12" >&2
323328
echo "JDKVER=13" >&2
329+
echo "JDKVER=loom" >&2
324330
echo "JDKVER=tip" >&2
325331
exit 1
326332
fi

0 commit comments

Comments
 (0)