-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Description
Search before asking
- I had searched in the issues and found no similar issues.
Apache SkyWalking Component
Java Agent (apache/skywalking-java)
What happened
In the springboot project, the controller class implements an interface with a default method (a new feature of Java 8). The default method of this interface can be called, but skywalking does not record it. I have used the latest version of skywalking.
What you expected to happen
the controller class implements an interface with a default method (a new feature of Java 8)
How to reproduce
In the springboot project, the controller class implements an interface with a default method (a new feature of Java 8). The default method of this interface can be called, but skywalking does not record it.
public interface ClusterTest2Controller {
@GetMapping("/_query")
@QueryAction
@QueryOperation(summary = "queryPager")
default Mono queryPager() {
System.out.println("=================queryPager=====================");
return Mono.empty();
}
}
@RequestMapping("/cluster2")
@RestController
@authorize
@tag(name = "cluster2")
public class ClusterTestController implements ClusterTest2Controller{
}
Anything else
No response
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct