Oliver Drotbohm 12/15/2008

JavaC issues implementing generics

Read Original

The article describes a specific issue where a Java class with complex generics compiles in Eclipse but fails with javac. It involves a static factory method pattern from 'Effective Java' and a bug in javac's type inference order. The author explains the problem, shares communication with compiler experts, and provides a solution by reordering generic parameters in the method signature.

JavaC issues implementing generics

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser