Skip to content

Conversation

@copybara-service
Copy link
Contributor

Require -XDaddTypeAnnotationsToSymbol=true, and remove workaround for JDK-8225377

This removes workarounds for https://bugs.openjdk.org/browse/JDK-8225377, which is fixed in JDK 21.0.8 and newer releases if -XDaddTypeAnnotationsToSymbol=true is enabled.

#5426

Startblock:

@copybara-service copybara-service bot force-pushed the test_852278227 branch 3 times, most recently from 45d9219 to 7f0f72f Compare January 7, 2026 15:03
…or JDK-8225377

This removes workarounds for https://bugs.openjdk.org/browse/JDK-8225377, which is fixed in JDK 21.0.8 and newer releases if `-XDaddTypeAnnotationsToSymbol=true` is enabled.

#5426

Startblock:
  * unknown commit is submitted
RELNOTES=The javac flag `-XDaddTypeAnnotationsToSymbol=true` is now required for Error Prone invocations on JDK 21, to enable the javac fix for JDK-8225377 (type annotations are not visible to javac plugins across compilation boundaries). See #5426 for details.
PiperOrigin-RevId: 853255760
@copybara-service copybara-service bot merged commit 5b768ff into master Jan 7, 2026
@copybara-service copybara-service bot deleted the test_852278227 branch January 7, 2026 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant