You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit makes sure that profiles that have been explicitly enabled
during AOT optimizations are automatically enabled when using those
optimizations.
If other profiles are set at runtime, they take precedence over the ones
defined during AOT processing.
Closesgh-30421
Copy file name to clipboardExpand all lines: spring-context/src/main/java/org/springframework/context/aot/ApplicationContextInitializationCodeGenerator.java
+20-3Lines changed: 20 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2002-2022 the original author or authors.
2
+
* Copyright 2002-2023 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -17,6 +17,7 @@
17
17
packageorg.springframework.context.aot;
18
18
19
19
importjava.util.ArrayList;
20
+
importjava.util.Arrays;
20
21
importjava.util.List;
21
22
importjava.util.function.Function;
22
23
@@ -49,6 +50,7 @@
49
50
* Internal code generator to create the {@link ApplicationContextInitializer}.
0 commit comments