mirror of
https://github.com/konsoletyper/teavm.git
synced 2025-01-30 10:50:16 +08:00
Merge pull request #217 from sba1/nano-time-fix
Fix ms to ns conversion.
This commit is contained in:
commit
ab3d8607d9
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user