Skip to content

Commit

Permalink
Document fixes for @MethodSource local factory method names in releas…
Browse files Browse the repository at this point in the history
…e notes

Closes #3130
Closes #3131
  • Loading branch information
sbrannen committed Jan 23, 2023
1 parent a0eb8e2 commit ac31e9a
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,15 @@ 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;)`.

==== Deprecations and Breaking Changes

Expand Down

0 comments on commit ac31e9a

Please sign in to comment.