Rename @CompileWithTargetClassAccess
Rename `@CompileWithTargetClassAccess` to `@CompileWithForkedClassLoaderClassLoader`. Closes gh-29173
This commit is contained in:
@@ -37,7 +37,7 @@ import org.opentest4j.MultipleFailuresError;
|
||||
import org.springframework.aot.AotDetector;
|
||||
import org.springframework.aot.generate.GeneratedFiles.Kind;
|
||||
import org.springframework.aot.generate.InMemoryGeneratedFiles;
|
||||
import org.springframework.aot.test.generate.compile.CompileWithTargetClassAccess;
|
||||
import org.springframework.aot.test.generate.compile.CompileWithForkedClassLoader;
|
||||
import org.springframework.aot.test.generate.compile.TestCompiler;
|
||||
import org.springframework.test.context.aot.samples.basic.BasicSpringJupiterSharedConfigTests;
|
||||
import org.springframework.test.context.aot.samples.basic.BasicSpringJupiterTests;
|
||||
@@ -54,7 +54,7 @@ import static org.junit.platform.launcher.TagFilter.excludeTags;
|
||||
* @author Sam Brannen
|
||||
* @since 6.0
|
||||
*/
|
||||
@CompileWithTargetClassAccess
|
||||
@CompileWithForkedClassLoader
|
||||
class AotIntegrationTests extends AbstractAotTests {
|
||||
|
||||
private static final String CLASSPATH_ROOT = "AotSmokeTests.classpath_root";
|
||||
|
||||
@@ -33,7 +33,7 @@ import org.springframework.aot.generate.InMemoryGeneratedFiles;
|
||||
import org.springframework.aot.hint.MemberCategory;
|
||||
import org.springframework.aot.hint.RuntimeHints;
|
||||
import org.springframework.aot.hint.TypeReference;
|
||||
import org.springframework.aot.test.generate.compile.CompileWithTargetClassAccess;
|
||||
import org.springframework.aot.test.generate.compile.CompileWithForkedClassLoader;
|
||||
import org.springframework.aot.test.generate.compile.TestCompiler;
|
||||
import org.springframework.context.ApplicationContext;
|
||||
import org.springframework.context.ApplicationContextInitializer;
|
||||
@@ -80,7 +80,7 @@ import static org.springframework.test.web.servlet.setup.MockMvcBuilders.webAppC
|
||||
* @author Sam Brannen
|
||||
* @since 6.0
|
||||
*/
|
||||
@CompileWithTargetClassAccess
|
||||
@CompileWithForkedClassLoader
|
||||
class TestContextAotGeneratorTests extends AbstractAotTests {
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user