1004 Callable<?> eval = (Callable<?>)data; |
1004 Callable<?> eval = (Callable<?>)data; |
1005 data = null; // to make sure we don't evaluate this twice. |
1005 data = null; // to make sure we don't evaluate this twice. |
1006 try { |
1006 try { |
1007 data = eval.call(); |
1007 data = eval.call(); |
1008 } catch (Exception ex) { |
1008 } catch (Exception ex) { |
1009 ex.printStackTrace(); |
|
1010 throw new AssertionError(ex); |
1009 throw new AssertionError(ex); |
1011 } |
1010 } |
1012 } |
1011 } |
1013 return data; |
1012 return data; |
1014 } |
1013 } |