Perform Reactor native classpath checks at build time
See gh-28624
This commit is contained in:
parent
a122a0e8c8
commit
cdf01ede8d
|
@ -45,7 +45,8 @@ class ConstantFieldSubstitutionProcessor extends SubstitutionProcessor {
|
||||||
private static Pattern[] patterns = {
|
private static Pattern[] patterns = {
|
||||||
Pattern.compile(Pattern.quote("org.springframework.core.NativeDetector#imageCode")),
|
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("org.springframework.") + ".*#.*_PRESENT"),
|
||||||
|
Pattern.compile(Pattern.quote("reactor.") + ".*#.*Available")
|
||||||
};
|
};
|
||||||
|
|
||||||
private final ThrowawayClassLoader throwawayClassLoader;
|
private final ThrowawayClassLoader throwawayClassLoader;
|
||||||
|
|
Loading…
Reference in New Issue