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

Java: Stub generator: Exclude invalid identifiers from generated stubs #11269

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

joefarebrother
Copy link
Contributor

@joefarebrother joefarebrother commented Nov 15, 2022

It appears that compiled .class files are able to contain identifiers that are not valid in Java source code.
For instance, when stubing okhttp, I ran into several identifiers beginning with -deprecated_.
This PR excludes these identifiers from being stubbed.

@joefarebrother joefarebrother requested a review from a team as a code owner Nov 15, 2022
@joefarebrother joefarebrother added the no-change-note-required This PR does not need a change note label Nov 15, 2022
@github-actions github-actions bot added the Java label Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Java no-change-note-required This PR does not need a change note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant