Skip to content

Commit 01a368d

Browse files
committed
Bump Java bytecode compatibility version to Java11
1 parent a615657 commit 01a368d

14 files changed

Lines changed: 19 additions & 367 deletions

File tree

.github/workflows/beam_PostCommit_Java_Examples_Dataflow_Java.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
matrix:
6161
job_name: [beam_PostCommit_Java_Examples_Dataflow_Java]
6262
job_phrase: [Run Java examples on Dataflow Java]
63-
java_version: ['8','17','21', '25']
63+
java_version: ['17', '21', '25']
6464
if: |
6565
github.event_name == 'workflow_dispatch' ||
6666
github.event_name == 'pull_request_target' ||

.github/workflows/beam_PostCommit_Java_Examples_Dataflow_V2_Java.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
job_name: [beam_PostCommit_Java_Examples_Dataflow_V2_Java]
6262
job_phrase_1: [Run Java ]
6363
job_phrase_2: [Examples on Dataflow Runner V2]
64-
java_version: ['8', '17', '21', '25']
64+
java_version: ['17', '21', '25']
6565
if: |
6666
github.event_name == 'workflow_dispatch' ||
6767
github.event_name == 'pull_request_target' ||

.github/workflows/beam_PostCommit_Java_Hadoop_Versions.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -72,22 +72,10 @@ jobs:
7272
github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }})
7373
- name: Setup environment
7474
uses: ./.github/actions/setup-environment-action
75-
with:
76-
java-version: |
77-
8
78-
11
7975
- name: run javaHadoopVersionsTest script
8076
uses: ./.github/actions/gradle-command-self-hosted-action
8177
with:
8278
gradle-command: :javaHadoopVersionsTest
83-
# TODO(https://github.com/apache/beam/issues/32189) remove when embedded hive supports Java11
84-
- name: run java8HadoopVersionsTest script
85-
uses: ./.github/actions/gradle-command-self-hosted-action
86-
with:
87-
gradle-command: :sdks:java:io:hcatalog:hadoopVersionsTest
88-
arguments: |
89-
-PtestJavaVersion=8 \
90-
-Pjava8Home=$JAVA_HOME_8_X64 \
9179
- name: Archive JUnit Test Results
9280
uses: actions/upload-artifact@v4
9381
if: ${{ !success() }}

.github/workflows/beam_PostCommit_Java_ValidatesRunner_Flink_Java8.yml

Lines changed: 0 additions & 102 deletions
This file was deleted.

.github/workflows/beam_PostCommit_Java_ValidatesRunner_Spark_Java8.yml

Lines changed: 0 additions & 102 deletions
This file was deleted.

.github/workflows/beam_PreCommit_SQL_Java8.yml

Lines changed: 0 additions & 129 deletions
This file was deleted.

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
## Deprecations
8383

8484
* X behavior is deprecated and will be removed in X versions ([#X](https://github.com/apache/beam/issues/X)).
85+
* Dropped Java 8 support ([#31678](https://github.com/apache/beam/issues/31678)).
8586

8687
## Bugfixes
8788

0 commit comments

Comments
 (0)