diff --git a/jimfs/src/main/java/com/google/common/jimfs/SystemFileTimeSource.java b/jimfs/src/main/java/com/google/common/jimfs/SystemFileTimeSource.java index 05d71f08..4d9a942c 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/SystemFileTimeSource.java +++ b/jimfs/src/main/java/com/google/common/jimfs/SystemFileTimeSource.java @@ -24,6 +24,11 @@ enum SystemFileTimeSource implements FileTimeSource { INSTANCE; @Override + /* + * We don't really support usage from Android, but all configurations we're testing under support + * java.time. + */ + @SuppressWarnings("AndroidJdkLibsChecker") public FileTime now() { return FileTime.from(Instant.now()); }