Skip to content

Commit

Permalink
fix classlaoder setting
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangyuan04 committed May 30, 2024
1 parent f6dd49e commit a22ee85
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,9 @@ public void run() {
oldClassLoader = Thread.currentThread().getContextClassLoader();
Thread.currentThread().setContextClassLoader(future.getAppClassLoader());
}

response.setInvokeContext(future.getInvokeContext());
Object responseObj = RpcResponseResolver.resolveResponseObject(response,
this.remoteAddress);
response.setInvokeContext(future.getInvokeContext());
try {
callback.onResponse(responseObj);
} catch (Throwable e) {
Expand Down

0 comments on commit a22ee85

Please sign in to comment.