33.4.7
Prefer to upgrade straight to 33.4.8: 33.4.7 breaks the build of Android apps with a minSdkVersion below 26. We will publish a fixed version soon. This problem is fixed in 33.4.8.
Guava 33.4.7, like 33.4.6, fixes two problems that we introduced while modularizing Guava and migrating off Unsafe
in 33.4.5.
Even if you're not upgrading from Guava 33.4.0 or earlier, still read the release notes for Guava 33.4.1. Those release notes contain information about the effects of Guava 33.4.5 and higher on the module system.
Maven
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>33.4.7-jre</version>
<!-- or, for Android: -->
<version>33.4.7-android</version>
</dependency>
Jar files
Guava requires one runtime dependency, which you can download here:
Javadoc
JDiff
Changelog
- Modified the
guava
module's dependency onfailureaccess
to betransitive
. Also, modified theguava-testlib
module to make its dependency onguava
transitive, to remove its dependency onfailureaccess
, and to add a dependency (transitive
) onjunit
. (63ecdf2) util.concurrent
: Modified our fast paths to ensure that they continue to work when run through optimizers, such as those commonly used by Android apps. This fixes problems that some users may have seen since Guava 33.4.5. (b8dcaed, f9eff73)util.concurrent
: Changed theguava-android
copy ofAbstractFuture
to tryVarHandle
beforeUnsafe
, eliminating a warning under newer JDKs. (7336af1)