Repository navigation
Fix Generator NPE on some Custom Scope Configurations - #1088
Merged
Merged
Conversation
Contributor
|
I think we should move the static ExternalProvider.externalModules list into ProcessingContext.Ctx, so clear() resets it and the manual .clear() goes away. This avoids state carrying over between compiles in a long-lived JVM. Does that make sense? What do you think? |
Collaborator
Author
The list is only read by the csv writer after a scan has emptied and refilled it. Leftovers from a previous compile in the same JVM (like a Gradle daemon) just sit in memory until cleared by the next scan. Even so either way is fine |
rbygrave
approved these changes
Oct 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
<, it becomes a constructor dependency written with its fully qualified type, with no import.builder.withBean(new GenericType<...>(){}.type(), genericVarName), so the bean is registered under its parameterized type.Map<String, Long>and qualifiers likeTempQualifier(a=0, b={...})now stay whole when the csv is read back.Resolves #1087 Resolves #1086