Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support servlet 2.5 for Jetty,Tomcat,SpringMvc #3120

Merged
merged 8 commits into from
Jul 22, 2019

Conversation

candyleer
Copy link
Member

Please answer these questions before submitting pull request


Bug fix

  • Bug description.

  • How to fix?


New feature or improvement

  • Describe the details and related test reports.

@wu-sheng wu-sheng added this to the 6.3.0 milestone Jul 19, 2019
@wu-sheng wu-sheng added agent Language agent related. plugin Plugin for agent or collector. Be used to extend the capabilities of default implementor. labels Jul 19, 2019
@@ -42,4 +43,16 @@ public static String generateOperationName(Method method) {
operationName.append(")");
return operationName.toString();
}


public static boolean isGetStatusExist(ClassLoader classLoader) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As an util, the class name should be parameter, right?


public static boolean isMethodExist(ClassLoader classLoader, String className, String methodName, Class<?>... parameterTypes) {
try {
Class<?> httpServletResponse = Class.forName(className, true, classLoader);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong variable name

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Parameter type should be String if class name is string.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes,I forgot update

candyleer and others added 3 commits July 22, 2019 09:44
Add a comment to the new core util method. @candyleer I am concerning this method will be used widely even unnecessary.
Copy link
Member

@wu-sheng wu-sheng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wu-sheng wu-sheng merged commit 137b142 into apache:master Jul 22, 2019
@muyun12 muyun12 mentioned this pull request Mar 12, 2020
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agent Language agent related. plugin Plugin for agent or collector. Be used to extend the capabilities of default implementor.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants