guava
guava copied to clipboard
Google core libraries for Java
Libraries like log4j2 use Implementation-Version to determine which version of a library is use when logging stack traces. The manifest inside guava's jar is currently lacking this property.
Issue #902 requests `Multitable`, which we have been hesitant to add because of complexity. When the JDK was hesitant to add even `Multimap` and `Multiset`, they added `Map.computeIfAbsent`, which serves...
### API(s) ```java `com.google.common.collect.ImmutableMap.toImmutableMap(Function
_[Original issue](https://code.google.com/p/guava-libraries/issues/detail?id=1073) created by **electrum** on 2012-07-19 at 12:27 AM_ --- Please add @ SafeVarargs to things like ImmutableSet.of().
Make various classes catch `Exception` instead of `RuntimeException` even when only `RuntimeException` is theoretically possible. In fact, because checked exceptions are a Java-source-language feature (rather than a JVM feature), it's...
Bloom Filters created with less than 500 expected insertions and a fpp of 1e-7 do not achieve that desired false positive probability in practice. This issue is most noticeable at...
The following classes are using sun.misc.Unsafe com.google.common.cache.Striped64 com.google.common.hash.LittleEndianByteArray com.google.common.primitives.UnsignedBytes com.google.common.util.concurrent.AbstractFuture class sun.misc.Unsafe is a jdk internal class. package sun.misc is jdk internal after jdk 8. In jdk16, --illegal-access=deny was default....
Tries to improve the GitHub issue templates, as originally suggested in the comments on #6785. Please let me know if you want anything changed. Also, no worries if you don't...
I'd mentioned this in https://github.com/google/guava/issues/3990#issuecomment-1444307178. It would be nice to be able to refer in source code to newer types (e.g., `CRC32C`, [`VarHandle`, and `@ReservedStackAccess`](https://github.com/google/guava/issues/3990#issuecomment-677722778))—with, of course, appropriate runtime guards....
I learned while looking at https://github.com/google/guava/issues/4005#issuecomment-1806237141 that our build fails under JDK 21+ with a legitimate Animal Sniffer error as of https://github.com/google/guava/commit/945ce37fd615ae976f4aefc40df8d2f4b67acf5e. That seems like the kind of thing that...