打开JMockit的jar包,在jar包 META-INF/MANIFEST.MF文件中定义了JMockit的启动类Startup。

MANIFEST.MF

Manifest-Version: 1.0
Premain-Class: mockit.internal.startup.Startup
Implementation-Version: 1.36
Built-By: 
Agent-Class: mockit.internal.startup.Startup
Can-Redefine-Classes: true
Can-Retransform-Classes: true
Created-By: Apache Maven 3.5.2
Build-Jdk: 1.8.0_151
Main-Class: mockit.coverage.CodeCoverage


 



  1. 启过过程
     

  2. 初始化过程