File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed 
documentation/src/docs/asciidoc/release-notes Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,15 @@ JUnit repository on GitHub.
3131
3232==== Bug Fixes
3333
34+ * Parameter types for _local_ `@MethodSource` factory method names are now validated. For
35+   example, `@MethodSource("myFactory(example.NonexistentType)")` will now result in an
36+   exception stating that `example.NonexistentType` cannot be resolved to a valid type.
37+ * The syntax for parameter types in _local_ `@MethodSource` factory method names now
38+   supports canonical array names -- for example, you may now specify `int[]` as in
39+   `@MethodSource("myFactory(int[])"` instead of the _binary_ name `[I` as in
40+   `@MethodSource("myFactory([I)"` (which was already supported) and
41+   `@MethodSource("myFactory(java.lang.String[])` instead of
42+   `@MethodSource("myFactory([Ljava.lang.String;)`.
3443* Exceptions thrown for undeletable files when cleaning up a temporary directory created
3544  via `@TempDir` now include the root cause.
3645* Allow lifecycle methods to be declared as `private` again for backwards compatibility
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments