github google/guava v30.1.1
30.1.1

latest releases: v33.3.1, v33.3.0, v33.2.1...
3 years ago

Maven

<dependency>
  <groupId>com.google.guava</groupId>
  <artifactId>guava</artifactId>
  <version>30.1.1-jre</version>
  <!-- or, for Android: -->
  <version>30.1.1-android</version>
</dependency>

Jar files

Guava requires one runtime dependency, which you can download here:

Javadoc

JDiff

Changelog

  • Increased the aggressiveness of Guava 30.1's warning log message for running guava-android under 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 NullPointerException or 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)
  • cache: Added @CheckReturnValue to some APIs. (a5ef129)
  • collect: Added @DoNotCall to the mutator methods on immutable types (6ae9532)
  • hash: Removed @Beta from HashCode. (2c9f161)
  • io: Removed @Beta from CountingOutputStream. (d394bac)

Don't miss a new guava release

NewReleases is sending notifications on new releases.