The following javac error occurs when trying to compile gson using Maven.
(this probably was not caught since Googlers use Eclipse)
[INFO] Compilation failure
/home/jdumay/code/google/gson/trunk/gson/src/main/java/com/google/gson/Gson.java
:[446,23]
type parameters of <T>T cannot be determined; no unique maximal instance
exists for type variable T with upper bounds T,java.lang.Object
And its a bug in javac!
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6302954
Attached is a patch that works around this problem.
Original issue reported on code.google.com by james.w....@gmail.com on 8 Aug 2009 at 3:34
Original issue reported on code.google.com by
james.w....@gmail.com
on 8 Aug 2009 at 3:34Attachments: