提交 d44598f8 编写于 作者: K kohsuke

I guess this is really a bug in JDK without easy workaround.

Mustang compiles this file, so reverting back.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1317 71c3de6d-444a-0410-be80-ed276b4c234a
上级 4f661231
......@@ -59,15 +59,11 @@ abstract class Request<RSP extends Serializable,EXC extends Throwable> extends C
EXC exc = response.exception;
if(exc !=null)
_throw(exc);
throw exc; // some versions of JDK fails to compile this line. If so, upgrade your JDK.
return response.returnValue;
}
private static <EX extends Throwable> void _throw(EX e) throws EX {
throw e;
}
/**
* Makes an invocation but immediately returns without waiting for the completion
* (AKA aysnchronous invocation.)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册