Fix java.lang.System tests.

- HtmlUnit does not define performance object
- Date.parse("1-1-2021") fails when executed on the jvm.

Change-Id: I7e67333a5ef013beebf4bac59f4b02acc7e15a48
diff --git a/user/test/com/google/gwt/emultest/java/lang/SystemTest.java b/user/test/com/google/gwt/emultest/java/lang/SystemTest.java
index 9e3c33a..33f7379 100644
--- a/user/test/com/google/gwt/emultest/java/lang/SystemTest.java
+++ b/user/test/com/google/gwt/emultest/java/lang/SystemTest.java
@@ -15,11 +15,14 @@
  */
 package com.google.gwt.emultest.java.lang;
 
+import static com.google.gwt.junit.Platform.HtmlUnitBug;
+
+import com.google.gwt.junit.DoNotRunWith;
 import com.google.gwt.junit.client.GWTTestCase;
 import com.google.gwt.testing.TestUtils;
 
-import java.sql.Date;
 import java.util.Arrays;
+import java.util.Date;
 
 /**
  * Tests java.lang.System.
@@ -325,12 +328,13 @@
     assertEquals("default", System.getProperty("otherNonExistent", someConf));
   }
 
+  @DoNotRunWith({HtmlUnitBug})
   public void testNanoTime() {
     assertTrue(System.nanoTime() > 0);
   }
 
   public void testCurrentTimeMillis() {
-    assertTrue(System.currentTimeMillis() > Date.parse("1-1-2021"));
+    assertTrue(System.currentTimeMillis() > Date.parse("1/1/2021"));
   }
 }