pombreda / google-guice

Automatically exported from code.google.com/p/google-guice
Apache License 2.0
0 stars 1 forks source link

Guice can not be built against Guava 15.0-rc1 #769

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
com.google.inject.internal.Annotations uses the deprecated 
MapMaker.makeComputingMap() method which, in this latest Guava release, has 
been made non-public.  There likely are other incompatibilities as I merely 
attempted a version override and observed the above error at runtime.  

Given the prevalent use of Guava in many projects, it is likely that many Guice 
users will be unable to construct a valid classpath for their projects once 
other dependencies are updated to require Guava 15.

Original issue reported on code.google.com by st...@entreesystems.com on 6 Sep 2013 at 3:28

GoogleCodeExporter commented 9 years ago
The current Guice build still shades guava under an internal package, so you 
won't see classpath issues.

A patch to change over to the CacheBuilder API (available since Guava 10.0) is 
available in issue #760

See http://code.google.com/p/google-guice/issues/detail?id=760#c1

This is more of an issue if/when we make Guava an external dependency rather 
than shaded into the jar.

Original comment by mccu...@gmail.com on 6 Sep 2013 at 3:49

GoogleCodeExporter commented 9 years ago
I'll try to get the shift over to cachebuilder in, or something based on it. 

Original comment by christia...@gmail.com on 8 Sep 2013 at 6:58

GoogleCodeExporter commented 9 years ago

Original comment by mccu...@gmail.com on 16 Oct 2013 at 10:11