apache / incubator-fury

A blazingly fast multi-language serialization framework powered by JIT and zero-copy.

Home Page:https://fury.apache.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Java]Compatible with lower versions of guava

MrChang0 opened this issue · comments

Search before asking

  • I had searched in the issues and found no similar issues.

Version

master

Component(s)

Java

Minimal reproduce step

dependency fury and guava version 18

What did you expect to see?

run without error

What did you see instead?

Caused by: java.lang.NoSuchMethodError: com.google.common.collect.ImmutableBiMap$Builder: method 'void (int)' not found

Anything Else?

with guava 18, ImmutableMap.Builder only Builder() contructor.
builderCtrCache should support lookup.findConstructor(builderClass, MethodType.methodType(void.class)); when throw excption.

Are you willing to submit a PR?

  • I'm willing to submit a PR!