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

Generate max. one deprecated annotation per method #222

Merged
merged 1 commit into from
Apr 20, 2022

Conversation

zbynek
Copy link
Contributor

@zbynek zbynek commented Apr 20, 2022

Should fix regression from #208, untested

@zosrothko
Copy link
Member

What do you mean by 'untested'?

@zbynek
Copy link
Contributor Author

zbynek commented Apr 20, 2022

I tested this manually now with https://jitpack.io/#zbynek/javacc/patch-1-SNAPSHOT and it fixes the issue (GeoGebra was failing to compile after geogebra/geogebra@ccafa09 ). I did not add any unit tests and didn't check why was this issue not found by any tests in the first place (the GENERATE_ANNOTATIONS option defaults to true on JDK >= 1.5 according to the source ).

@zosrothko zosrothko merged commit 9f995f8 into javacc:master Apr 20, 2022
@zbynek zbynek deleted the patch-1 branch April 20, 2022 15:40
@zosrothko
Copy link
Member

Thank for your fix. Will be included in the next javacc release 7.0.12.

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

Successfully merging this pull request may close these issues.

None yet

2 participants