On Tue, 25 Apr 2023 10:23:11 GMT, Maurizio Cimadamore <mcimadam...@openjdk.org> 
wrote:

>> test/langtools/tools/javac/patterns/Exhaustiveness.java line 1:
>> 
>>> 1: /*
>> 
>> Isn't `Isn't `testCoversType1` the same as `testExhaustiveStatement3` ?
>
> Some of the tests called `testExhaustiveStatement` do not seem to test 
> statements at all

In the two `testXYZExhaustiveIntersection` the class hierarchy seems the same - 
can we reuse it across multiple test cases? I see something similar done in 
`testOnlyApplicable`.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/13074#discussion_r1176325272

Reply via email to