Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't store XElement outside of processing rounds. #4594

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

copybara-service[bot]
Copy link

Don't store XElement outside of processing rounds.

GeneratesRootInputProcessorTest stores the List<XElement> returned by GeneratesRootInputs.getElementsToWaitFor() to test the output. However, this causes an issue with the latest XProcessing drop when trying to access the fully qualified name of the element outside of the actual processing rounds. This is fixed if we replaced the List<XElement> with List<String> and calculate the qualified name immediately inside the processing round.

RELNOTES=N/A

`GeneratesRootInputProcessorTest` stores the `List<XElement>` returned by `GeneratesRootInputs.getElementsToWaitFor()` to test the output. However, this causes an issue with the latest XProcessing drop when trying to access the fully qualified name of the element outside of the actual processing rounds. This is fixed if we replaced the `List<XElement>` with `List<String>` and calculate the qualified name immediately inside the processing round.

RELNOTES=N/A
PiperOrigin-RevId: 720687140
@copybara-service copybara-service bot merged commit 81ea86a into master Jan 28, 2025
@copybara-service copybara-service bot deleted the test_720433172 branch January 28, 2025 21:24
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