Fixbug/springmvn-annotation-4.x-plugin, witness class does not exist in some versions (#6629)

This commit is contained in:
李文广 2021-03-28 23:32:31 +08:00 committed by GitHub
parent db9cc26977
commit 0047829b9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 2 deletions

View File

@ -25,6 +25,7 @@ Release Notes.
* Support jedis pipeline in jedis-2.x-plugin.
* Fix apm-toolkit-log4j-2.x-activation no trace Id in async log.
* Replace hbase-1.x-plugin with hbase-1.x-2.x-plugin to adapt hbase client 2.x
* Fix bug that springmvn-annotation-4.x-plugin, witness class does not exist in some versions.
#### OAP-Backend
* Allow user-defined `JAVA_OPTS` in the startup script.

View File

@ -25,7 +25,7 @@ import org.apache.skywalking.apm.agent.core.plugin.interceptor.ConstructorInterc
import static net.bytebuddy.matcher.ElementMatchers.any;
public class ControllerForLowVersionInstrumentation extends AbstractControllerInstrumentation {
public static final String WITNESS_CLASSES_LOW_VERSION = "org.springframework.web.context.support.ServletContextPropertyPlaceholderConfigurer";
public static final String WITNESS_CLASSES_LOW_VERSION = "org.springframework.web.method.HandlerMethodSelector";
public static final String ENHANCE_ANNOTATION = "org.springframework.stereotype.Controller";

View File

@ -25,7 +25,7 @@ import org.apache.skywalking.apm.agent.core.plugin.interceptor.ConstructorInterc
import static net.bytebuddy.matcher.ElementMatchers.any;
public class RestControllerForLowVersionInstrumentation extends AbstractControllerInstrumentation {
public static final String WITNESS_CLASSES_LOW_VERSION = "org.springframework.web.context.support.ServletContextPropertyPlaceholderConfigurer";
public static final String WITNESS_CLASSES_LOW_VERSION = "org.springframework.web.method.HandlerMethodSelector";
public static final String ENHANCE_ANNOTATION = "org.springframework.web.bind.annotation.RestController";

View File

@ -14,6 +14,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
4.3.16.RELEASE
4.3.24.RELEASE
4.3.25.RELEASE
5.0.15.RELEASE
5.1.10.RELEASE