Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
gissuebot opened this issue Oct 31, 2014 · 2 comments
Labels

Comments

@gissuebot
Copy link

gissuebot commented Oct 31, 2014

Original issue created by cl...@magicalspirits.net on 2014-09-13 at 02:40 PM


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.

@gissuebot
Copy link
Author

gissuebot commented Nov 1, 2014

Original comment posted by cl...@magicalspirits.net on 2014-09-13 at 02:40 PM


Cross reference Guice issue: google/guice#846

@kevinb9n
Copy link
Contributor

Was never a Guava bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants