Skip to content

Commit

Permalink
Catch exception that's thrown on Java 11 and later
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkinsona committed Aug 10, 2022
1 parent 3783375 commit 8e3346c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -267,7 +267,7 @@ private void configureIgnoredMigrations(FluentConfiguration configuration, Flywa
map.from(properties.isIgnorePendingMigrations()).to(configuration::ignorePendingMigrations);
map.from(properties.isIgnoreFutureMigrations()).to(configuration::ignoreFutureMigrations);
}
catch (BootstrapMethodError ex) {
catch (BootstrapMethodError | NoSuchMethodError ex) {
// Flyway 9+
}
}
Expand Down

0 comments on commit 8e3346c

Please sign in to comment.