Skip to content

Follow up fix fork comiple errors - #40620

Merged
Abacn merged 1 commit into
apache:masterfrom
Abacn:errorprone-followup
Oct 15, 2026
Merged

Abacn merged 1 commit into
apache:masterfrom
Abacn:errorprone-followup

Conversation

@Abacn

@Abacn Abacn commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Tested with both ./gradlew :sdks:java:io:jms:compileJava with Java21, and ./gradlew :sdks:java:io:jms:compileJava -Pjava21Home=<> with Java11

@github-actions github-actions Bot added the build label Oct 15, 2026

@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 cleanly restores the -source/-target replacement logic in setCompileAndRuntimeJavaVersion (along with a helpful comment explaining the Error Prone and Gradle #22747 constraint) while deduplicating javaHome fork configuration and removing the obsolete Java 8 branch in setJavaVerOptions.

🔍 General Feedback

  • The changes are well-scoped, restore compatibility when forking JavaCompile tasks to an external JDK, and improve readability in BeamModulePlugin.groovy.

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

* Partly revert apache#40595: setCompileAndRuntimeJavaVersion logic wasn't stale
  it's needed to resolve errorprone x Gradle known issue compatibility

* Clean up Java8 leftovers in setJavaVerOptions.
@Abacn

Abacn commented Oct 15, 2026

Copy link
Copy Markdown
Contributor Author

There are a few GCP IO integration tests permared:

FhirIOReadIT > testFhirIORead[DSTU2] FAILED
FhirIOReadIT > testFhirIORead[R4]
FhirIOReadIT > testFhirIORead[STU3] FAILED
PubsubReadIT > testReadPublicData FAILED
PubsubReadIT > testReadPubsubMessageId

pubsub test failing due to an ongoing PubSub outage, not related to the change, merging for now

@Abacn
Abacn merged commit 1847eac into apache:master Oct 15, 2026
21 of 23 checks passed
@Abacn
Abacn deleted the errorprone-followup branch October 15, 2026 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants