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
DynamicType.java:[11,9] reference to Unloaded is ambiguous
[ERROR] both class DynamicType.Default.Unloaded in DynamicType.Default and interface DynamicType.Unloaded in DynamicType match
If we check the generated code
...
publicbooleanequals(finaljava.lang.Objecto) {
if (o == this) returntrue;
if (!(oinstanceofDynamicType.Default.Unloaded)) returnfalse;
finalUnloadedother = (Unloaded) o;
...
we can see that type name is not fully specified in cast operation. All other places of generated code use canonical class name.
The text was updated successfully, but these errors were encountered:
Consider the following code:
Compilation fails with error:
If we check the generated code
we can see that type name is not fully specified in cast operation. All other places of generated code use canonical class name.
The text was updated successfully, but these errors were encountered: