Missing ParameterizedType for Option in LTS 3.3 #20263
Labels
area:backend
area:erasure
itype:bug
stat:fixed in next
The issue was fixed in Next and only still applies to LTS.
Compiler version
3.3.0, 3.3.1, 3.3.3 (works correctly in 3.4.0 and 3.4.1)
Minimized code
Output
In LTS:
In 3.4.0 and 3.4.1:
When using the CFR decompiler on ClassWIthOption I get:
In LTS:
In 3.4:
Expectation
I expect the behavior in 3.4.
Some libraries may use java reflection features which depend on the erased type parameter being there. I suspect overeager type parameter erasure was not intentional, which is why it came back in 3.4.
The text was updated successfully, but these errors were encountered: