Guava 30.1.1 released, Google Java core library
Guava is a set of core libraries that includes new collection types (such as multimap and multiset), immutable collections, a graph library, functional types, an in-memory cache, and APIs/utilities for concurrency, I/O, hashing, primitives, reflection, string processing, and much more!
Guava comes in two flavors.
- The JRE flavor requires JDK 1.8 or higher.
- If you need support for JDK 1.7 or Android, use the Android flavor. You can find the Android Guava source in the
Guava 30.1.1 released.
- Increased the aggressiveness of Guava 30.1‘s warning log message for running
guava-androidunder a Java 7 VM. (Android VMs are unaffected.) If the warning itself causes you trouble, you can eliminate it by silencing the logger for
com.google.common.base.Preconditions(which is used only for this warning). This warning prepares for removing support for Java 7 in 2021. Please report any problems. We have tried to make the warning as safe as possible, but anytime a common library logs, especially as aggressively as we do in this new release, there is the potential for
NullPointerExceptionor even deadlock. (To be clear, Guava will not log under Java 8 or Android, but it will under Java 7.) (00c25e9)
cache: Fixed compatibility between
asMap().compute(...)and a load. (42bf4f4)
@CheckReturnValueto some APIs. (a5ef129)
@DoNotCallto the mutator methods on immutable types (6ae9532)