diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index 48aeb387111..0a297bbe07b 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -42,6 +42,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#6554](https://github.com/apache/incubator-seata/pull/6554)] fix unfixed serializer - [[#6555](https://github.com/apache/incubator-seata/pull/6555)] businessActionContext is compatible with io seata - [[#6553](https://github.com/apache/incubator-seata/pull/6553)] fix saga "cannot matching status" +- [[#6575](https://github.com/apache/incubator-seata/pull/6575)] fix io.seata ActionInterceptorHandler use org.apache.seata BusinessActionContextParameter ### optimize: diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index a2681342664..e54ad9dc23c 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -42,6 +42,8 @@ - [[#6554](https://github.com/apache/incubator-seata/pull/6554)] 修复序列化器不固定使用对应配置序列化器的问题 - [[#6555](https://github.com/apache/incubator-seata/pull/6555)] 修复businessActionContext对io seata包的不兼容 - [[#6553](https://github.com/apache/incubator-seata/pull/6553)] 修复执行完 'ServiceTask' 后无法应用任何评估器的问题 +- [[#6575](https://github.com/apache/incubator-seata/pull/6575)] 修复io.seata ActionInterceptorHandler误使用了org.apache.seata BusinessActionContextParameter类的问题 + ### optimize: - [[#6031](https://github.com/apache/incubator-seata/pull/6031)] 添加undo_log表的存在性校验 diff --git a/compatible/src/main/java/io/seata/integration/tx/api/interceptor/ActionInterceptorHandler.java b/compatible/src/main/java/io/seata/integration/tx/api/interceptor/ActionInterceptorHandler.java index cb6cb6aa583..8d84ae78d5f 100644 --- a/compatible/src/main/java/io/seata/integration/tx/api/interceptor/ActionInterceptorHandler.java +++ b/compatible/src/main/java/io/seata/integration/tx/api/interceptor/ActionInterceptorHandler.java @@ -74,7 +74,7 @@ protected Map fetchActionRequestContext(Method method, Object[] Annotation[][] parameterAnnotations = method.getParameterAnnotations(); for (int i = 0; i < parameterAnnotations.length; i++) { for (int j = 0; j < parameterAnnotations[i].length; j++) { - if (parameterAnnotations[i][j] instanceof org.apache.seata.rm.tcc.api.BusinessActionContextParameter) { + if (parameterAnnotations[i][j] instanceof BusinessActionContextParameter) { // get annotation BusinessActionContextParameter annotation = (BusinessActionContextParameter) parameterAnnotations[i][j]; if (arguments[i] == null) {