final private static void invokestatic() {
- System.out.print("invokestatic: ");
try {
+ p("invokestatic: ");
if (doit)
invokestatic.sub();
else
- System.out.println("OK");
- } catch (Throwable t) {
- System.out.println("FAILED: " + t);
+ ok();
+ } catch (NoClassDefFoundError t) {
+ failed(t);
}
}
check(getstaticI.i, 123);
else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
check(getstaticJ.l, 1234567890123L);
else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
check(getstaticF.f, 123.456F);
else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
check(getstaticD.d, 789.012);
else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
check(getstaticL.o, null);
else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
}
check(putstaticI.i, i);
} else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
check(putstaticJ.l, l);
} else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
check(putstaticF.f, f);
} else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
check(putstaticD.d, d);
} else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
check(putstaticL.o, o);
} else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
}
check(putstaticconstI.i, 123);
} else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
check(putstaticconstJ.l, 1234567890123L);
} else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
check(putstaticconstF.f, 123.456F);
} else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
check(putstaticconstD.d, 789.012);
} else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
check(putstaticconstI.i, 0);
} else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
check(putstaticconstJ.l, 0L);
} else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
check(putstaticconstF.f, 0.0F);
} else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
check(putstaticconstD.d, 0.0);
} else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
check(putstaticconstL.o, null);
} else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
check(putstaticconstC.c, Class.forName("putstaticconstC"));
} else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
+ failed(t);
+ } catch (ClassNotFoundException t) {
failed(t);
}
}
check(new getfieldI().i, 123);
else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
check(new getfieldJ().l, 1234567890123L);
else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
check(new getfieldF().f, 123.456F);
else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
check(new getfieldD().d, 789.012);
else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
check(new getfieldL().o, null);
else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
}
check(pfi.i, i);
} else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
check(pfj.l, l);
} else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
check(pff.f, f);
} else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
check(pfd.d, d);
} else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
check(pfl.o, o);
} else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
}
check(pfci.i, 123);
} else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
check(pfcj.l, 1234567890123L);
} else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
check(pfcf.f, 123.456F);
} else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
check(pfcd.d, 789.012);
} else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
check(pfci.i, 0);
} else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
check(pfcj.l, 0L);
} else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
check(pfcf.f, 0.0F);
} else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
check(pfcd.d, 0.0);
} else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
check(pfcl.o, null);
} else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
check(pfcc.c, Class.forName("putfieldconstC"));
} else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
+ failed(t);
+ } catch (ClassNotFoundException t) {
failed(t);
}
}
newarray[] na = new newarray[1];
}
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
}
multianewarray[][] ma = new multianewarray[1][1];
}
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
}
new invokespecial();
else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
}
ok();
} catch (ClassCastException e) {
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
ok();
} catch (ClassCastException e) {
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
ok();
} catch (ClassCastException e) {
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
}
ok();
else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
ok();
else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
ok();
else
ok();
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
failed(t);
}
}
check(ca[0],Class.forName("aastoreconstClass"));
} else
ok();
-
- } catch (Throwable t) {
+ } catch (NoClassDefFoundError t) {
+ failed(t);
+ } catch (ClassNotFoundException t) {
failed(t);
}
}