Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make common.hash use VarHandle [instead of Unsafe](https://github.com/google/guava/issues/6806) when possible. #7616

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

copybara-service[bot]
Copy link
Contributor

@copybara-service copybara-service bot commented Jan 13, 2025

Make common.hash use VarHandle instead of Unsafe when possible.

(One other note: I had some more fun with Java 8 support in LittleEndianByteArray.)

RELNOTES=Changed various classes to stop using sun.misc.Unsafe under Java 9+.

@copybara-service copybara-service bot force-pushed the test_714943678 branch 3 times, most recently from 88438a3 to 2289a28 Compare January 13, 2025 21:07
…possible.

(One other note: I had some more fun with [Java 8 support](#6614) in `LittleEndianByteArray`.)

RELNOTES=Changed various classes to stop using `sun.misc.Unsafe` under Java 9+.
PiperOrigin-RevId: 715182856
@copybara-service copybara-service bot merged commit ee63055 into master Jan 14, 2025
2 checks passed
@copybara-service copybara-service bot deleted the test_714943678 branch January 14, 2025 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant