This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/doris-thirdparty.git
The following commit(s) were added to refs/heads/main by this push:
new f461ac71 [build] change jdk11 to jdk8 (#80)
f461ac71 is described below
commit f461ac719b664e1915e7724cc9f7f37f89bbc2b9
Author: Mingyu Chen <[email protected]>
AuthorDate: Sun May 28 20:15:55 2023 +0800
[build] change jdk11 to jdk8 (#80)
After introducing hadoop in thirdparty, we need to use jdk8 to compile it.
If using jdk11 and run BE using jdk8, it will return error:
`NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;`
---
.github/workflows/build-1.2.yml | 4 ++--
.github/workflows/build.yml | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/build-1.2.yml b/.github/workflows/build-1.2.yml
index befd30e0..951ead08 100644
--- a/.github/workflows/build-1.2.yml
+++ b/.github/workflows/build-1.2.yml
@@ -147,8 +147,8 @@ jobs:
'zip'
'unzip'
'autopoint'
- 'openjdk-11-jdk'
- 'openjdk-11-jdk-headless'
+ 'openjdk-8-jdk'
+ 'openjdk-8-jdk-headless'
'maven'
runs-on: ${{ matrix.config.os }}
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 97d2ee85..7e176f6f 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -141,8 +141,8 @@ jobs:
'zip'
'unzip'
'autopoint'
- 'openjdk-11-jdk'
- 'openjdk-11-jdk-headless'
+ 'openjdk-8-jdk'
+ 'openjdk-8-jdk-headless'
'maven'
runs-on: ${{ matrix.config.os }}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]