You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I'm creating a class, called Outer, and an inner class inside it, called Inner.
I'm then using the inner class as a generic parameter of an anonymous class in another class in the same package.
The result is that in the generic parameter the inner class is written unqualified and not imported, resulting in a compile error.
Here is an example code
And this is the result
The declaration
List<Outer.Inner> field
is correct, but the instantiationnew List<Inner>
is not.The text was updated successfully, but these errors were encountered: