Java 类org.junit.rules.DisableOnDebug 实例源码

项目:openjdk-jdk10    文件:NotOnDebug.java   
public static TestRule create(Timeout seconds) {
    try {
        return new DisableOnDebug(seconds);
    } catch (LinkageError ex) {
        return null;
    }
}