Recognize PRESENT fields in native classpath checks at build time
This pattern is used in Spring Boot. See gh-28624
This commit is contained in:
@@ -45,7 +45,7 @@ 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")
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user