File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
spring-boot-project/spring-boot/src/main/java/org/springframework/boot Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -1684,15 +1684,13 @@ Duration timeTakenToStarted() {
16841684 }
16851685
16861686 static Startup create () {
1687- if (ClassUtils .isPresent ("jdk.crac.management.CRaCMXBean" , Startup .class .getClassLoader ())) {
1688- return new CracStartup ();
1689- }
1690- return new StandardStartup ();
1687+ return (!ClassUtils .isPresent ("jdk.crac.management.CRaCMXBean" , Startup .class .getClassLoader ()))
1688+ ? new StandardStartup () : new CoordinatedRestoreAtCheckpointStartup ();
16911689 }
16921690
16931691 }
16941692
1695- private static class CracStartup extends Startup {
1693+ private static class CoordinatedRestoreAtCheckpointStartup extends Startup {
16961694
16971695 private final StandardStartup fallback = new StandardStartup ();
16981696
You can’t perform that action at this time.
0 commit comments