spring-framework/spring-beans
Stephane Nicoll 9820e3341d Fix handling of protected visibility
Previously, InstanceSupplierCodeGenerator used reflection if the target
visibility is either protected or private, and use direct access if the
target visibility is public or package private.

The previous arrangement already assumed that the code is generateed in
the same package as the target type. This means that protected can be
used as well so this commit only use reflection if the target visibility
is private.

Closes gh-29253
2022-10-04 16:49:13 +02:00
..
src Fix handling of protected visibility 2022-10-04 16:49:13 +02:00
spring-beans.gradle Update bean registration contribution tests to use TestCompiler 2022-03-10 16:06:52 +01:00