-
Notifications
You must be signed in to change notification settings - Fork 161
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
feat: allow endpoints to work on non-public classes #9592
Conversation
flow-server/src/main/java/com/vaadin/flow/server/connect/VaadinConnectController.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also looks good to me, ready to be merged once the conflicts are resolved.
2650b78
SonarQube analysis reported 1 issue Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:
|
This ticket/PR has been released with platform 19.0.0. For prerelease versions, it will be included in its final version. |
Fix sets accessible all public methods of endpoint which allows to call them even if class is not public.
Checked with Oracle documentation that fix supports java 12 (there was a doubt that it's not)
https://docs.oracle.com/en/java/javase/12/docs/api/java.base/java/lang/reflect/AccessibleObject.html
Fixes #8168