Deprecated API
Contents
- Terminally Deprecated
- Interfaces
- Enum Classes
- Fields
- Methods
- Constructors
- Enum Constants
- Annotation Interface Elements
-
Terminally Deprecated ElementsElementDescriptionNo longer supported at runtime; please use
JRE.JAVA_17
or laterNo longer supported at runtime; please useJRE.JAVA_17
or laterNo longer supported at runtime; please useJRE.JAVA_17
or laterNo longer supported at runtime; please useJRE.JAVA_17
or laterNo longer supported at runtime; please useJRE.JAVA_17
or laterNo longer supported at runtime; please useJRE.JAVA_17
or laterNo longer supported at runtime; please useJRE.JAVA_17
or laterNo longer supported at runtime; please useJRE.JAVA_17
or laterNo longer supported at runtime; please useJRE.JAVA_17
or later
-
Deprecated InterfacesInterfaceDescriptionPlease extend
AutoCloseable
directly.
-
Deprecated Enum ClassesEnum ClassDescriptionbecause there is only a single non-deprecated search option left
-
Deprecated FieldsFieldDescriptionPlease reference
ParameterizedInvocationConstants.ARGUMENT_SET_NAME_OR_ARGUMENTS_WITH_NAMES_PLACEHOLDER
instead.Please referenceParameterizedInvocationConstants.ARGUMENT_SET_NAME_PLACEHOLDER
instead.Please referenceParameterizedInvocationConstants.ARGUMENTS_PLACEHOLDER
instead.Please referenceParameterizedInvocationConstants.ARGUMENTS_WITH_NAMES_PLACEHOLDER
instead.Please referenceParameterizedInvocationConstants.DEFAULT_DISPLAY_NAME
instead.Please referenceParameterizedInvocationConstants.DISPLAY_NAME_PLACEHOLDER
instead.Please referenceParameterizedInvocationConstants.INDEX_PLACEHOLDER
instead.
-
Deprecated MethodsMethodDescriptionin favor of
JRE.currentJre()
Please implementAnnotationBasedArgumentsProvider.provideArguments(ParameterDeclarations, ExtensionContext, Annotation)
instead.Please implementArgumentsProvider.provideArguments(ParameterDeclarations, ExtensionContext)
instead.UseAnnotationSupport.findAnnotation(AnnotatedElement, Class)
(forSearchOption.DEFAULT
) orAnnotationSupport.findAnnotation(Class, Class, List)
(forSearchOption.INCLUDE_ENCLOSING_CLASSES
) insteadwithout replacement
-
Deprecated Constructors
-
Deprecated Enum ConstantsEnum ConstantDescriptionNo longer supported at runtime; please use
JRE.JAVA_17
or laterNo longer supported at runtime; please useJRE.JAVA_17
or laterNo longer supported at runtime; please useJRE.JAVA_17
or laterNo longer supported at runtime; please useJRE.JAVA_17
or laterNo longer supported at runtime; please useJRE.JAVA_17
or laterNo longer supported at runtime; please useJRE.JAVA_17
or laterNo longer supported at runtime; please useJRE.JAVA_17
or laterNo longer supported at runtime; please useJRE.JAVA_17
or laterNo longer supported at runtime; please useJRE.JAVA_17
or laterThis behavior will be removed from future versions of JUnit andTestInstantiationAwareExtension.ExtensionContextScope.TEST_METHOD
will become the default.because it is preferable to inspect the runtime enclosing types of a class rather than where they are declared.
-
Deprecated Annotation Interface ElementsAnnotation Interface ElementDescriptionPlease reference
ParameterizedInvocationConstants.ARGUMENT_SET_NAME_OR_ARGUMENTS_WITH_NAMES_PLACEHOLDER
instead.Please referenceParameterizedInvocationConstants.ARGUMENT_SET_NAME_PLACEHOLDER
instead.Please referenceParameterizedInvocationConstants.ARGUMENTS_PLACEHOLDER
instead.Please referenceParameterizedInvocationConstants.ARGUMENTS_WITH_NAMES_PLACEHOLDER
instead.Please referenceParameterizedInvocationConstants.DEFAULT_DISPLAY_NAME
instead.Please referenceParameterizedInvocationConstants.DISPLAY_NAME_PLACEHOLDER
instead.Please referenceParameterizedInvocationConstants.INDEX_PLACEHOLDER
instead.