RFR: 8332106: VerifyError when using switch pattern in this(...) or super(…) [v2]
Jan Lahoda
jlahoda at openjdk.org
Wed May 15 07:47:07 UTC 2024
On Tue, 14 May 2024 09:07:15 GMT, Aggelos Biboudis <abimpoudis at openjdk.org> wrote:
>> Jan Lahoda has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Enhancing test as suggested.
>
> test/langtools/tools/javac/patterns/UninitializedThisException.java line 38:
>
>> 36: import java.util.function.Supplier;
>> 37:
>> 38: public class UninitializedThisException {
>
> nit: It would be nice to have a test for `super(...)` as well even though I am confident that it works. Feel free to ignore if there is no need for an extra test.
Tests enahanced: https://github.com/openjdk/jdk/pull/19217/commits/9dacde8bc15a05f706041d11160ce4344d102766
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/19217#discussion_r1601126416
More information about the compiler-dev
mailing list