You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Guava 32.1.1 is not compatible with GWT because of System.nanoTime calls #6627
After updating to Guava 32.1.1 we cannot compile our GWT project anymore because of changes to the @GwtCompatible Ticker class:
[ERROR] Errors in 'com/google/common/base/Ticker.java'
[ERROR] Line 53: The method nanoTime() is undefined for the type System
Tracing compile failure path for type 'com.google.common.base.Ticker'
[ERROR] Errors in 'com/google/common/base/Ticker.java'
[ERROR] Line 53: The method nanoTime() is undefined for the type System
Is it an issue in our setup or an incompatible change ?
Activity
cpovirk commentedon Jul 6, 2023
Ah, support for
nanoTime()is new in GWT 2.10.0. I should have thought to investigate that. I'll mention it in the release notes.Is upgrading to 2.10.0 practical?
Arpic commentedon Jul 6, 2023
Ah yes, I didn't think to check the GWT release notes, I will investigate whether it's possible for us to upgrade. Thanks for the quick answer.
revert e5e3f0 because guava-gwt requires GWT 2.10.0 from 32.0.0, but ...