google / guava

Google core libraries for Java
Apache License 2.0
50.03k stars 10.86k forks source link

BloomFilter can't be serialized in Android #1576

Open gissuebot opened 9 years ago

gissuebot commented 9 years ago

Original issue created by junchengc on 2013-11-13 at 01:24 AM


BloomFilter can't be serialized on the Android platform. The Android version I'm using is 4.3.1 and the guava library I used is 15.0.

gissuebot commented 9 years ago

Original comment posted by kak@google.com on 2013-11-13 at 01:48 AM


Can you give a bit more details on this? Do you get a specific error when trying to serialize a BF?

gissuebot commented 9 years ago

Original comment posted by junchengc on 2013-11-13 at 01:56 AM


I attached the log for the error from LogCat as well as a snippet from the code I used. I used a BloomFilter<String>.

I also tested the same code using the normal java compiler. It works there but not on Android.