Good (generics) code red with 7.0.3EAP

It has to do with generic classes and I believe, it worked with 7.0.2
without problems. Anybody else having such problems?

Tom

5 comments

Hello Tom,

It has to do with generic classes and I believe, it worked with 7.0.2
without problems. Anybody else having such problems?


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!"


0

If I find a free half hour, I'll give it a try.

0

Are you sure that all these circular class and type parameter definitions are correct?


class ActionContext<A extends ContextAction>
class TableContext&lt;RO> extends ActionContext&lt;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 =\

0

Please sign in to leave a comment.