MCPcopy Create free account
hub / github.com/bsideup/jabel / JDKCheck

Class JDKCheck

example/src/test/java/com/example/JDKCheck.java:5–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import org.junit.Test;
4
5public class JDKCheck {
6
7 @Test(expected = ClassNotFoundException.class)
8 public void isJava8() throws Exception {
9 Class.forName("java.lang.StackWalker");
10 }
11}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected