RFR: 8369817: [TESTBUG] EmptyPath::toString is ignored [v2]
duke
duke at openjdk.org
Wed Oct 15 08:10:08 UTC 2025
On Tue, 14 Oct 2025 11:20:40 GMT, Francesco Andreuzzi <fandreuzzi at openjdk.org> wrote:
>> JUnit ignores `@Test` methods which do not return `void`:
>>
>>
>> (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)
>>
>>
>> I propose to amend the method signature. This looks trivial to me.
>
> Francesco Andreuzzi has updated the pull request incrementally with one additional commit since the last revision:
>
> rename
@fandreuz
Your change (at version d9e8c387ce17241c34a483ffc15fa6a8124b8c5a) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27797#issuecomment-3405095421
More information about the core-libs-dev
mailing list