File tree 1 file changed +9
-1
lines changed
documentation/src/docs/asciidoc/release-notes
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,15 @@ repository on GitHub.
36
36
37
37
==== Bug Fixes
38
38
39
- * ❓
39
+ * Parameter types for _local_ `@MethodSource` factory method names are now validated. For
40
+ example, `@MethodSource("myFactory(example.NonexistentType)")` will now result in an
41
+ exception stating that `example.NonexistentType` cannot be resolved to a valid type.
42
+ * The syntax for parameter types in _local_ `@MethodSource` factory method names now
43
+ supports canonical array names -- for example, you may now specify `int[]` as in
44
+ `@MethodSource("myFactory(int[])"` instead of the _binary_ name `[I` as in
45
+ `@MethodSource("myFactory([I)"` (which was already supported) and
46
+ `@MethodSource("myFactory(java.lang.String[])` instead of
47
+ `@MethodSource("myFactory([Ljava.lang.String;)`.
40
48
41
49
==== Deprecations and Breaking Changes
42
50
You can’t perform that action at this time.
0 commit comments