Commit 2a10ca8
committed
[IcebergIO] Run xlang wrapper validation expansion service on Java 17
The cross-language wrapper validation launches the io expansion-service jar from Python via JAVA_HOME. That jar bundles IcebergIO, now Java 17 bytecode, so launching it on the default Java 11 fails with UnsupportedClassVersionError.
createCrossLanguageUsingJavaExpansionTask was missing the JAVA_HOME redirect that #38974 added to the other cross-language task factories. Add it, driven by -PtestJavaVersion (resolving java\Home), and pass -PtestJavaVersion=17 in the Xlang_Generated_Transforms precommit so the expansion service runs on a JDK that can load the bundled Java 17 IOs.1 parent b434723 commit 2a10ca8
2 files changed
Lines changed: 9 additions & 0 deletions
File tree
- .github/workflows
- buildSrc/src/main/groovy/org/apache/beam/gradle
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| 120 | + | |
120 | 121 | | |
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2721 | 2721 | | |
2722 | 2722 | | |
2723 | 2723 | | |
| 2724 | + | |
| 2725 | + | |
| 2726 | + | |
| 2727 | + | |
| 2728 | + | |
2724 | 2729 | | |
2725 | 2730 | | |
2726 | 2731 | | |
| |||
2750 | 2755 | | |
2751 | 2756 | | |
2752 | 2757 | | |
| 2758 | + | |
| 2759 | + | |
| 2760 | + | |
2753 | 2761 | | |
2754 | 2762 | | |
2755 | 2763 | | |
| |||
0 commit comments