Skip to content

Commit

Permalink
Move release notes entry for #3130 to 5.9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
marcphilipp committed Apr 22, 2023
1 parent b732a2b commit f6f1aff
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,15 @@ JUnit repository on GitHub.

==== Bug Fixes

* Parameter types for _local_ `@MethodSource` factory method names are now validated. For
example, `@MethodSource("myFactory(example.NonexistentType)")` will now result in an
exception stating that `example.NonexistentType` cannot be resolved to a valid type.
* The syntax for parameter types in _local_ `@MethodSource` factory method names now
supports canonical array names -- for example, you may now specify `int[]` as in
`@MethodSource("myFactory(int[])"` instead of the _binary_ name `[I` as in
`@MethodSource("myFactory([I)"` (which was already supported) and
`@MethodSource("myFactory(java.lang.String[])` instead of
`@MethodSource("myFactory([Ljava.lang.String;)`.
* Exceptions thrown for undeletable files when cleaning up a temporary directory created
via `@TempDir` now include the root cause.
* Allow lifecycle methods to be declared as `private` again for backwards compatibility
Expand Down

0 comments on commit f6f1aff

Please sign in to comment.