EmptyPath.toString() returns a String, thus we get the following warning from JUnit while executing it:
(1) [WARNING] @Test method 'public java.lang.String EmptyPath.toString()' must not return a value. It will not be executed.
Source: MethodSource [className = 'EmptyPath', methodName = 'toString', methodParameterTypes = '']
at EmptyPath.toString(SourceFile:0)
(1) [WARNING] @Test method 'public java.lang.String EmptyPath.toString()' must not return a value. It will not be executed.
Source: MethodSource [className = 'EmptyPath', methodName = 'toString', methodParameterTypes = '']
at EmptyPath.toString(SourceFile:0)
- caused by
-
JDK-8361587 AssertionError in File.listFiles() when path is empty and -esa is enabled
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk/008d8d91
-
Review(master) openjdk/jdk/27797