Skip to content

Commit cdf01ed

Browse files
committed
Perform Reactor native classpath checks at build time
See gh-28624
1 parent a122a0e commit cdf01ed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: spring-core/graalvm/src/main/java/org/springframework/aot/graalvm/ConstantFieldSubstitutionProcessor.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ class ConstantFieldSubstitutionProcessor extends SubstitutionProcessor {
4545
private static Pattern[] patterns = {
4646
Pattern.compile(Pattern.quote("org.springframework.core.NativeDetector#imageCode")),
4747
Pattern.compile(Pattern.quote("org.springframework.") + ".*#.*Present"),
48-
Pattern.compile(Pattern.quote("org.springframework.") + ".*#.*_PRESENT")
48+
Pattern.compile(Pattern.quote("org.springframework.") + ".*#.*_PRESENT"),
49+
Pattern.compile(Pattern.quote("reactor.") + ".*#.*Available")
4950
};
5051

5152
private final ThrowawayClassLoader throwawayClassLoader;

0 commit comments

Comments
 (0)