Are you sure that all these circular class and type parameter definitions are correct?
class ActionContext<A extends ContextAction> class TableContext<RO> extends ActionContext<TableContextAction>
class ContextAction<AC extends ActionContext>
class TableContextAction<RO> extends ContextAction<TableContext<RO>>
class OurAction extends TableContextAction<Object>
The last definition leads to
TableContextAction<Object> extends ContextAction<TableContext<Object>>
which leads to
TableContext<Object> extends ActionContext<TableContextAction<Object>>
which again leads to
TableContextAction<Object>]]>
I am not sure if it is permitted or forbidden by the language specification but anyway it looks like really complex example of overused generics without apparent reasons for all these circular dependencies.
Message was edited insane number of times in order to fix formatting =\
Hello Tom,
Please post a JIRA issue with the code sample. We've made some new tweaks
in 7.0.2, and this area is very easy to get regressions.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
If I find a free half hour, I'll give it a try.
http://www.jetbrains.net/jira/browse/IDEA-16880
Are you sure that all these circular class and type parameter definitions are correct?
class ActionContext<A extends ContextAction>
class TableContext<RO> extends ActionContext<TableContextAction> class ContextAction<AC extends ActionContext> class TableContextAction<RO> extends ContextAction<TableContext<RO>> class OurAction extends TableContextAction<Object> The last definition leads to TableContextAction<Object> extends ContextAction<TableContext<Object>> which leads to TableContext<Object> extends ActionContext<TableContextAction<Object>> which again leads to TableContextAction<Object>]]>
I am not sure if it is permitted or forbidden by the language specification but anyway it looks like really complex example of overused generics without apparent reasons for all these circular dependencies.
Message was edited insane number of times in order to fix formatting =\
Yes