From 9a1c6fe5b9bb6da809250fed5ef72cdf274a7897 Mon Sep 17 00:00:00 2001 From: Sebastian Bauer Date: Fri, 19 Aug 2016 20:35:34 +0200 Subject: [PATCH] Fix ms to ns conversion. --- .../src/main/java/org/teavm/classlib/java/lang/TSystem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classlib/src/main/java/org/teavm/classlib/java/lang/TSystem.java b/classlib/src/main/java/org/teavm/classlib/java/lang/TSystem.java index ad8a033e6..28bbae9c8 100644 --- a/classlib/src/main/java/org/teavm/classlib/java/lang/TSystem.java +++ b/classlib/src/main/java/org/teavm/classlib/java/lang/TSystem.java @@ -106,7 +106,7 @@ public final class TSystem extends TObject { } public static long nanoTime() { - return currentTimeMillis() * 10000000; + return currentTimeMillis() * 1000000; } public static int identityHashCode(Object x) {