Skip to content

Partially revert #40595 to fix compilation error - #40621

Closed
shunping wants to merge 3 commits into
apache:masterfrom
shunping:fix-workflow
Closed

shunping wants to merge 3 commits into
apache:masterfrom
shunping:fix-workflow

Conversation

@shunping

@shunping shunping commented Oct 15, 2026 •

Copy link
Copy Markdown
Collaborator

@github-actions github-actions Bot added the build label Oct 15, 2026
@shunping
shunping marked this pull request as ready for review October 15, 2026 19:45
@shunping
shunping requested a review from Abacn October 15, 2026 19:45

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📋 Review Summary

This PR partially reverts #40595 by restoring BeamModulePlugin.setCompileAndRuntimeJavaVersion to replace --release (as well as existing -source/-target flags) with -source <ver> -target <ver>, resolving compilation failures in beam_PreCommit_Java_IOs_Direct. It also adds the .github/trigger_files/beam_PreCommit_Java_IOs_Direct.json trigger file to run the workflow on this PR.

🔍 General Feedback

  • The restored setCompileAndRuntimeJavaVersion implementation matches the pre-#40595 behavior and cleanly handles --release, -source, and -target compiler arguments in place.
  • The added workflow trigger file follows the standard convention used across .github/trigger_files/.

💡 Tip: Comment /gemini review on this pull request to trigger a new Gemini code review.

@Abacn Abacn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

racing condition though - #40620

@github-actions

Copy link
Copy Markdown
Contributor

Checks are failing. Will not request review until checks are succeeding. If you'd like to override that behavior, comment assign set of reviewers

@shunping shunping closed this Oct 15, 2026
@shunping

Copy link
Copy Markdown
Collaborator Author

Let's go with your fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants