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

Error diagnostic returned for non-public resource method on interface, but interface method should be treated as public #447

Closed
1 task done
scottkurz opened this issue Apr 20, 2023 · 1 comment
Assignees

Comments

@scottkurz
Copy link
Contributor

Description:

Using LSP4Jakarta v0.1.0, if I follow the Open Liberty MicroProfile Rest Client guide we get an error diagnostic here on line:

Properties getProperties() throws UnknownUriException, ProcessingException;

with message "Only public methods may be exposed as resource methods".

Since SystemClient is an interface, however, this seems like an incorrect way to check. This should be treated as a public method for this check.

Type of language feature proposed:

Select all that apply

  • diagnostic
@mezarin
Copy link
Contributor

mezarin commented Aug 9, 2023

Fixed by PR #490

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants