Fix error with 1.8.0_77 in CI, does not happen with 1.8.0_121
Probably a bit ugly, but well for a test it should be acceptable.
@@ -17,7 +17,7 @@ public class JenkinsJVMRealTest {
public static JenkinsRule j = new JenkinsRule();
@Test
- public void isJenkinsJVM() throws Exception {
+ public void isJenkinsJVM() throws Throwable {
assertThat(new IsJenkinsJVM().call(), is(true));
DumbSlave slave = j.createOnlineSlave();
assertThat(slave.getChannel().call(new IsJenkinsJVM()), is(false));
