Perform Reactor native classpath checks at build time

See gh-28624
This commit is contained in:
Sébastien Deleuze 2022-07-06 16:39:00 +02:00
parent a122a0e8c8
commit cdf01ede8d
1 changed files with 2 additions and 1 deletions

View File

@ -45,7 +45,8 @@ class ConstantFieldSubstitutionProcessor extends SubstitutionProcessor {
private static Pattern[] patterns = {
Pattern.compile(Pattern.quote("org.springframework.core.NativeDetector#imageCode")),
Pattern.compile(Pattern.quote("org.springframework.") + ".*#.*Present"),
Pattern.compile(Pattern.quote("org.springframework.") + ".*#.*_PRESENT")
Pattern.compile(Pattern.quote("org.springframework.") + ".*#.*_PRESENT"),
Pattern.compile(Pattern.quote("reactor.") + ".*#.*Available")
};
private final ThrowawayClassLoader throwawayClassLoader;