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
The JLS specifies that on fields, the annotation immediately before the type is a modifier of the field itself, so it makes sense that both annotations are written on the Inner class. However, this raises the question of how to specify the type @Tainted C. @Untainted Inner. That is, an @Untainted instance of Inner where C.this has type @Tainted. There's no way to write the annotation on C specifically, both annotations apply to the inner class.
jwaataja
changed the title
Dataflow doesn't correctly replace annotations on inner class during inference
Inability to write annotations on the outer class portion of an inner class name
Aug 7, 2020
Dataflow seems to break with inner class types.
I get this error,
I would expect to instead get an invalid assignment error. It seems dataflow tries to replace the inner type but doesn't remove the old annotation.
The text was updated successfully, but these errors were encountered: