A bad interaction between self-referential types and bounded wildcards

两盒软妹~` 提交于 2019-12-06 00:44:13

What to do?

Here are a couple of pragmatic solutions.

  • Try using javac from the latest patch release of Java 7. I recall hearing of certain javac compiler bugs in Java 6 that were only fixed in Java 7 ... but I don't know of a list. (And the Java Bugs Database is hopeless at searching ...)

  • Put up with it, and use one of the two alternatives that you've already found that "work".

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!