wangyum opened a new pull request #1812:
URL: https://github.com/apache/hive/pull/1812


   ### What changes were proposed in this pull request?
   
   This pr fix guice compatibility issues.
   ```
   Exception in thread "main" java.lang.NoSuchMethodError: 
com.google.inject.util.Types.collectionOf(Ljava/lang/reflect/Type;)Ljava/lang/reflect/ParameterizedType;
   » at 
com.google.inject.multibindings.Multibinder.collectionOfProvidersOf(Multibinder.java:202)
   » at 
com.google.inject.multibindings.Multibinder$RealMultibinder.<init>(Multibinder.java:283)
   » at 
com.google.inject.multibindings.Multibinder$RealMultibinder.<init>(Multibinder.java:258)
   ```
   
   
https://github.com/google/guice/blob/4.1/core/src/com/google/inject/util/Types.java#L110-L112
   
https://github.com/google/guice/blob/4.0/core/src/com/google/inject/util/Types.java
   
   ### Why are the changes needed?
   
   Fix compatibility issues.
   
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   N/A.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to