"Type mismatch" regression since 4.29 with generics and null-analysis #3461
Labels
bug
Something isn't working
null
Issues related to null pointer analysis
regression
Something was broken by a previous change
After updating to a new ecj version (4.34), I got a new compiler error that did not occur with the old version or with javac. I traced the new behavior back to ecj version 4.29. There was no error with version 4.28. Further tests revealed that it only occurs when the null analysis is activated. If you deactivate it, the error disappears. The issue was found while using Eclipselink. Below, I have extracted the necessary types into an example.
works:
error:
Perhaps it is related to #2941?
AbstractClassInAnnotation.java
AnnotationWithClassType.java
AnotherType.java
ImplementationClass.java
ErrorClass.java
The text was updated successfully, but these errors were encountered: