title: Mockito on JDK16 and Mac OS - Could not initialize plugin
body: <pre><code>java.lang.IllegalStateException: Could not initialize plugin: interface org.mockito.plugins.MockMaker (alternate: null)
  Caused by: java.lang.IllegalStateException: Failed to load interface org.mockito.plugins.MockMaker implementation declared in java.lang.CompoundEnumeration@4158debd
  Caused by: java.lang.reflect.InvocationTargetException
  Caused by: org.mockito.exceptions.base.MockitoInitializationException: 
  
  Could not initialize inline Byte Buddy mock maker.
  
      
  It appears as if your JDK does not supply a working agent attachment mechanism.
      Java               : 16
      JVM vendor name    : Oracle Corporation
      JVM vendor version : 16.0.2+7-67
      JVM name           : Java HotSpot(TM) 64-Bit Server VM
      JVM version        : 16.0.2+7-67
      JVM info           : mixed mode, sharing
      OS name            : Mac OS X
      OS version         : 11.5
      
      Caused by: java.lang.IllegalStateException: Could not self-attach to current VM using external process
  </code></pre>
  <p>Getting the above error on Maven 3.8.1 and JDK16.02 with Mockito 3.7.7, on a fresh setup and cannot figure out why. I have tried every Mockito version from 3.7 all the way to 3.11 to no avail.</p>
  <p>These configurations however works on an older setup based on JDK15 on Windows 10 Pro.</p>