Skip to content

Commit b5fca6f

Browse files
huangtaojavahuangtao
andauthored
Type inconsistency in RpcServiceContext.localInvoke field causes NullPointerException (#15475) (#15536)
Co-authored-by: huangtao <huangtao@gmail.com>
1 parent 86dd988 commit b5fca6f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/RpcServiceContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ public void setNeedPrintRouterSnapshot(boolean needPrintRouterSnapshot) {
625625
this.needPrintRouterSnapshot = needPrintRouterSnapshot;
626626
}
627627

628-
public RpcServiceContext setLocalInvoke(boolean localInvoke) {
628+
public RpcServiceContext setLocalInvoke(Boolean localInvoke) {
629629
this.localInvoke = localInvoke;
630630
return this;
631631
}

0 commit comments

Comments
 (0)