Skip to content

Commit 69311ab

Browse files
jasonjoo2010jerrick-zhu
authored andcommitted
solve compatible issue with dubbo 2.5.9, 2.5.10 (#2175)
1 parent 73d86a9 commit 69311ab

File tree

1 file changed

+3
-3
lines changed
  • dubbo-common/src/main/java/com/alibaba/dubbo/common

1 file changed

+3
-3
lines changed

dubbo-common/src/main/java/com/alibaba/dubbo/common/Version.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ public final class Version {
3535
private static final Logger logger = LoggerFactory.getLogger(Version.class);
3636

3737
// Dubbo RPC protocol version, for compatibility, it must not be between 2.0.10 ~ 2.6.2
38-
public static final String DEFAULT_DUBBO_PROTOCOL_VERSION = "2.0.1";
38+
public static final String DEFAULT_DUBBO_PROTOCOL_VERSION = "2.0.2";
3939
// Dubbo implementation version, usually is jar version.
4040
private static final String VERSION = getVersion(Version.class, "");
4141

4242
/**
4343
* For protocol compatibility purpose.
4444
* Because {@link #isSupportResponseAttatchment} is checked for every call, int compare expect to has higher performance than string.
4545
*/
46-
private static final int LOWEST_VERSION_FOR_RESPONSE_ATTATCHMENT = 20001; // 2.0.1
46+
private static final int LOWEST_VERSION_FOR_RESPONSE_ATTATCHMENT = 20002; // 2.0.2
4747
private static final Map<String, Integer> VERSION2INT = new HashMap<String, Integer>();
4848

4949
static {
@@ -202,4 +202,4 @@ public static void checkDuplicate(String path, boolean failOnError) {
202202
}
203203
}
204204

205-
}
205+
}

0 commit comments

Comments
 (0)