Skip to content

Commit 3341a5d

Browse files
author
Phillip Webb
committed
Deprecate @ConditionalOnMissingClass.value
Fixes gh-1069
1 parent e8fcb0c commit 3341a5d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnMissingClass.java

+3
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,10 @@
4141
* bytecode it is safe to specify classes here that may ultimately not be on the
4242
* classpath.
4343
* @return the classes that must be present
44+
* @deprecated Since 1.1.0 due to the fact that the reflection errors can occur when
45+
* beans containing the annotation remain in the context. Use {@link #name()} instead.
4446
*/
47+
@Deprecated
4548
public Class<?>[] value() default {};
4649

4750
/**

0 commit comments

Comments
 (0)