Reject effectively private handler methods on CGLIB proxied controllers#35352
Reject effectively private handler methods on CGLIB proxied controllers#35352YongGoose wants to merge 15 commits intospring-projects:mainfrom
Conversation
Signed-off-by: yongjunhong <yongjunh@apache.org>
sbrannen
left a comment
There was a problem hiding this comment.
I requested a few changes.
Please also take Rossen's comment into account.
spring-web/src/main/java/org/springframework/web/method/support/InvocableHandlerMethod.java
Outdated
Show resolved
Hide resolved
spring-web/src/main/java/org/springframework/web/method/support/InvocableHandlerMethod.java
Outdated
Show resolved
Hide resolved
...ng-web/src/test/java/org/springframework/web/method/support/InvocableHandlerMethodTests.java
Outdated
Show resolved
Hide resolved
...ng-web/src/test/java/org/springframework/web/method/support/InvocableHandlerMethodTests.java
Outdated
Show resolved
Hide resolved
|
I'm currently traveling, so I should be able to work on it around Wednesday or Thursday this week. |
Signed-off-by: yongjunhong <yongjunh@apache.org>
Signed-off-by: yongjunhong <yongjunh@apache.org>
Signed-off-by: yongjunhong <yongjunh@apache.org>
Please take a look :) |
|
If you have some time, I’d really appreciate it if you could take a look at this PR as well. 🙇🏻♂️🙇🏻♂️ It’s similar to the this PR, focusing on the access modifiers and proxies!! |
sbrannen
left a comment
There was a problem hiding this comment.
Thanks for making the requested changes. It's looking better. 👍
I've requested a few additional changes in this follow up review.
Also, please make analogous changes to org.springframework.web.reactive.result.method.annotation.RequestMappingHandlerMapping and org.springframework.web.reactive.result.method.annotation.RequestMappingHandlerMappingTests.
...java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerMapping.java
Outdated
Show resolved
Hide resolved
...java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerMapping.java
Show resolved
Hide resolved
...ng-web/src/test/java/org/springframework/web/method/support/InvocableHandlerMethodTests.java
Show resolved
Hide resolved
...java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerMapping.java
Show resolved
Hide resolved
...java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerMapping.java
Outdated
Show resolved
Hide resolved
...org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerMappingTests.java
Outdated
Show resolved
Hide resolved
...org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerMappingTests.java
Outdated
Show resolved
Hide resolved
...org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerMappingTests.java
Outdated
Show resolved
Hide resolved
...org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerMappingTests.java
Outdated
Show resolved
Hide resolved
...org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerMappingTests.java
Outdated
Show resolved
Hide resolved
…c/method/annotation/RequestMappingHandlerMapping.java Co-authored-by: Sam Brannen <104798+sbrannen@users.noreply.github.com> Signed-off-by: Yongjun Hong <kevin0928@naver.com>
…c/method/annotation/RequestMappingHandlerMappingTests.java Co-authored-by: Sam Brannen <104798+sbrannen@users.noreply.github.com> Signed-off-by: Yongjun Hong <kevin0928@naver.com>
…c/method/annotation/RequestMappingHandlerMappingTests.java Co-authored-by: Sam Brannen <104798+sbrannen@users.noreply.github.com> Signed-off-by: Yongjun Hong <kevin0928@naver.com>
…c/method/annotation/RequestMappingHandlerMappingTests.java Co-authored-by: Sam Brannen <104798+sbrannen@users.noreply.github.com> Signed-off-by: Yongjun Hong <kevin0928@naver.com>
…c/method/annotation/RequestMappingHandlerMappingTests.java Co-authored-by: Sam Brannen <104798+sbrannen@users.noreply.github.com> Signed-off-by: Yongjun Hong <kevin0928@naver.com>
…c/method/annotation/RequestMappingHandlerMappingTests.java Co-authored-by: Sam Brannen <104798+sbrannen@users.noreply.github.com> Signed-off-by: Yongjun Hong <kevin0928@naver.com>
Signed-off-by: yongjunhong <yongjunh@apache.org>
Signed-off-by: yongjunhong <yongjunh@apache.org>
…related tests Signed-off-by: yongjunhong <yongjunh@apache.org>
Signed-off-by: yongjunhong <yongjunh@apache.org>
sbrannen
left a comment
There was a problem hiding this comment.
Thanks for making all of the requested changes. 👍
I think this PR looks pretty good now, and I'll review it once more in detail before merging it into main.
The requested change has already been made.
fixes #30938