peterphitran commented on PR #39064:
URL: https://github.com/apache/beam/pull/39064#issuecomment-4888178835

   Pinned java-version: '17' on every suite that launches the IO expansion 
service:
   
   - beam_PostCommit_Python_Xlang_IO_Direct
   - beam_PostCommit_Python_Xlang_IO_Dataflow
   - beam_PreCommit_Xlang_Generated_Transforms
   - beam_PerformanceTests_xlang_KafkaIO_Python
   (build_release_candidate already builds on '17'.)
   
   With only Java 17 installed, the default JAVA_HOME is 17, so the Python 
subprocess launches the jar on 17. This matches how master already pins the 
wrapper-validation precommit. Since the pin handles the launch JDK directly, I 
also dropped the -PtestJavaVersion/-Pjava17Home flags and the now-unused 
JAVA_HOME redirect in createCrossLanguageUsingJavaExpansionTask, so there's a 
single mechanism.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to