Google Collections sources don't compile

Posted by Carl Rosenberger on Stack Overflow See other posts from Stack Overflow or by Carl Rosenberger
Published on 2010-05-16T16:15:25Z Indexed on 2010/05/16 16:20 UTC
Read the original article Hit count: 293

Filed under:
|

I just downloaded the Google Collections sources and imported them into a new Eclipse project with JDK 1.6.

They don't compile for a couple of reasons:

  • javax.annotation.Nullable can not be found
  • javax.annotation.ParametersAreNonnullByDefault can not be found
  • Cannot reduce the visibility of the inherited method #createCollection() from AbstractMultimap
  • + 11 similar ones
  • Name clash: The method forcePut(K, V) of type AbstractBiMap has the same erasure as forcePut(Object, Object) of type BiMap but does not override it
  • + 2 similar ones
What am I missing?

I also wonder if unit tests for these collections are available to the public.

© Stack Overflow or respective owner

Related posts about guava

Related posts about java