mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-22 17:35:22 +00:00
Catch exception that's thrown on Java 11 and later
See gh-32034
This commit is contained in:
+1
-1
@@ -267,7 +267,7 @@ public class FlywayAutoConfiguration {
|
||||
map.from(properties.isIgnorePendingMigrations()).to(configuration::ignorePendingMigrations);
|
||||
map.from(properties.isIgnoreFutureMigrations()).to(configuration::ignoreFutureMigrations);
|
||||
}
|
||||
catch (BootstrapMethodError ex) {
|
||||
catch (BootstrapMethodError | NoSuchMethodError ex) {
|
||||
// Flyway 9+
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user