Ensure Native.isCurrentTimeMicrosAvailable reports correct state

Description

Under GraalVM, the driver is unable to instantiate AtomicTimestampGenerator:

It seems that Native.isCurrentTimeMicrosAvailable() is returning true here, but the native call isn't available.

We should 1) investigate what's happening and 2) maybe also improve the implementation of com.datastax.oss.driver.internal.core.time.Clock#getInstance to catch LinkageError and automatically switch to Java clocks.

Environment

None

Pull Requests

None

Assignee

Bret McGuire

Reporter

Alexandre Dutra

Labels

PM Priority

None

Reproduced in

None

Affects versions

Fix versions

Pull Request

None

Doc Impact

None

Size

None

External issue ID

None

External issue ID

None

Priority

Major
Configure