BeanRegistrationCodeFragments#getTarget does not take private class into account #29168
Labels
status: declined
A suggestion or change that we don't feel we should currently apply
theme: aot
An issue related to Ahead-of-time processing
type: bug
A general bug
A
BeanDefinition
can have a constructor argument or property value of typeClass
. If the class reference is not public, this leads to issues as the following:There can be issues where several privileges are required, which are impossible to fix so I am not sure what we should be doing. In this particular case, it turns out the FQN of the class is all that we need.
The text was updated successfully, but these errors were encountered: