title: Java11 and JMockit 1.43 Java.lang.UnsatisfiedLinkError happened when Jmockit mockup System.currentTimeMillis
body: <p>I am trying to mock System.currentTimeMillis using jmockit1.43 using below code</p>
  
  <pre><code>private static class SystemMock extends MockUp&lt;System&gt;{
      @Mock
      public static long currentTimeMillis() {
          return ourMockCurrentTime;
      }
  }
  </code></pre>
  
  <p>But I am getting below error when running my test:</p>
  
  <pre><code>00:01:37.658110 [.]     [junit] Exception in thread "main" java.lang.UnsatisfiedLinkError: java.lang.System.currentTimeMillis()J
  00:01:37.658185 [.]     [junit]     at java.base/java.lang.System.currentTimeMillis(Native Method)
  00:01:37.658188 [.]     [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:544)
  00:01:37.658228 [.]     [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)1548910897.658231: 
  00:01:37.658280 [.]     [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1041)
  </code></pre>
  
  <p>Is there a way to resolve this?</p>