spring-framework/spring-orm
Phillip Webb 4b82546b97 Improve TestCompiler and allow lookup based class defines
Update the `TestCompiler` so that classes can be defined using
a `Lookup`. This update allows package-private classes to be
accessed without needing a quite so unusual classloader setup.

The `@CompileWithTargetClassAccess` should be added to any
test that needs to use `Lookup` based defines. The test will
run with a completed forked classloader so not to pollute the
main classloader.

This commit also adds some useful additional APIs.

See gh-28120
2022-05-05 12:35:21 -07:00
..
src Improve TestCompiler and allow lookup based class defines 2022-05-05 12:35:21 -07:00
spring-orm.gradle AOT contribution for @PersistenceContext and @PersistenceUnit 2022-04-25 11:01:09 +02:00