Skip to content

Guava 32.1.1 is not compatible with GWT because of System.nanoTime calls #6627

@Arpic

Description

@Arpic

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 ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions