mkodekar / guava-libraries

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

In Guava 18, MapMaker.makeComputingMap scope has changed, but it's referenced from Guice 4 Beta4 #1847

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
java.lang.IllegalAccessError: tried to access method 
com.google.common.collect.MapMaker.makeComputingMap(Lcom/google/common/base/Func
tion;)Ljava/util/concurrent/ConcurrentMap; from class 
com.google.inject.internal.Annotations$AnnotationChecker
at 
com.google.inject.internal.Annotations$AnnotationChecker.(Annotations.java:104)
at com.google.inject.internal.Annotations.(Annotations.java:122)
at com.google.inject.spi.InjectionPoint.(InjectionPoint.java:94)
at 
com.google.inject.spi.InjectionPoint$InjectableField.toInjectionPoint(InjectionP
oint.java:440)
at 
com.google.inject.spi.InjectionPoint.getInjectionPoints(InjectionPoint.java:725)
at 
com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields(InjectionPoint.
java:358)
at 
com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields(InjectionPoint.
java:377)
at com.google.inject.internal.BindingBuilder.toInstance(BindingBuilder.java:84)

I know the method is marked as deprecated, but changing it's scope has resulted 
in other libraries with dependencies on it that haven't been updated; including 
Guice.

Original issue reported on code.google.com by cl...@magicalspirits.net on 13 Sep 2014 at 2:40

GoogleCodeExporter commented 9 years ago
Cross reference Guice issue: https://github.com/google/guice/issues/846

Original comment by cl...@magicalspirits.net on 13 Sep 2014 at 2:40

GoogleCodeExporter commented 9 years ago
This issue has been migrated to GitHub.

It can be found at https://github.com/google/guava/issues/<issue id>

Original comment by cgdecker@google.com on 1 Nov 2014 at 4:08

GoogleCodeExporter commented 9 years ago

Original comment by cgdecker@google.com on 1 Nov 2014 at 4:17

GoogleCodeExporter commented 9 years ago

Original comment by cgdecker@google.com on 3 Nov 2014 at 9:07