Skip to content

Prepare for javac API changes to AST end positions#5482

Merged
copybara-service[bot] merged 1 commit intomasterfrom
test_862702699
Feb 4, 2026
Merged

Prepare for javac API changes to AST end positions#5482
copybara-service[bot] merged 1 commit intomasterfrom
test_862702699

Conversation

@copybara-service
Copy link
Contributor

Prepare for javac API changes to AST end positions

After the upcoming changes in https://bugs.openjdk.org/browse/JDK-8372948, end positions will be stored directly in each JCTree, and the separate EndPosTable map will no longer exist.

This change uses method handles to support both versions of the internal API, before and after the changes in JDK-8372948.

@copybara-service copybara-service bot force-pushed the test_862702699 branch 2 times, most recently from bcf011f to 36c3062 Compare February 4, 2026 08:54
After the upcoming changes in https://bugs.openjdk.org/browse/JDK-8372948, end positions will be stored directly in each `JCTree`, and the separate `EndPosTable` map will no longer exist.

This change uses method handles to support both versions of the internal API, before and after the changes in JDK-8372948.

PiperOrigin-RevId: 865275227
@copybara-service copybara-service bot merged commit 7d8cdfe into master Feb 4, 2026
@copybara-service copybara-service bot deleted the test_862702699 branch February 4, 2026 09:07
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