-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Align method and field search algorithms with Java semantics
This set of commits modifies the method and field search algorithms in ReflectionUtils in order to align with standard Java semantics regarding whether a given field or method is visible or overridden according to the rules of the Java language. These changes fix several bugs in JUnit Jupiter. For example: - A @TempDir field from a superclass will now always be applied in a subclass. - Test methods and lifecycle methods are now always inherited unless they are overridden according to the visibility rules of the Java language. These changes also affect third parties using ReflectionSupport and AnnotationSupport in their extension or TestEngine implementations. See individual commits for details. Closes #3553
- Loading branch information
Showing
24 changed files
with
552 additions
and
164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.