migrator / guava-libraries-3

Guava: Google Core Libraries for Java 1.6+
0 stars 0 forks source link

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

Open migrator opened 10 years ago

migrator commented 10 years ago

java.lang.IllegalAccessError: tried to access method com.google.common.collect.MapMaker.makeComputingMap(Lcom/google/common/base/Function;)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(InjectionPoint.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.

relevance: 2

migrator commented 10 years ago

summary: Not Defined

Cross reference Guice issue: https://github.com/google/guice/issues/846

status Not Defined creator: cl...@magicalspirits.net created at: Sep 13, 2014