This is an automated email from the ASF dual-hosted git repository.
cnauroth pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/trunk by this push:
new 1b6f1b4fe3e HADOOP-19794: create-release version parsing incompatible
with Java 17
1b6f1b4fe3e is described below
commit 1b6f1b4fe3e9f3bb5441be22fd266c1031f6fd94
Author: Chris Nauroth <[email protected]>
AuthorDate: Thu Jan 29 21:53:09 2026 +0000
HADOOP-19794: create-release version parsing incompatible with Java 17
Closes #8210
Signed-off-by: Shilun Fan <[email protected]>
Reviewed-by: Cheng Pan <[email protected]>
---
dev-support/bin/create-release | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-support/bin/create-release b/dev-support/bin/create-release
index 148b88a9912..b659422a7c1 100755
--- a/dev-support/bin/create-release
+++ b/dev-support/bin/create-release
@@ -214,7 +214,7 @@ function set_defaults
# the docker container comes up...
JVM_VERSION=$(grep "<javac.version>" "${BASEDIR}/hadoop-project/pom.xml" \
| head -1 \
- | sed -e 's|^ *<javac.version>||' -e 's|</javac.version>.*$||' -e
's|..||')
+ | sed -e 's|^ *<javac.version>||' -e 's|</javac.version>.*$||')
GIT=$(command -v git)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]