How to solve: " The 'final' keyword has been added ..." #2812
Unanswered
fedejeanne
asked this question in
Q&A
Replies: 2 comments 14 replies
-
What's the version for org.eclipse.jdt.ui in your API baseline? |
Beta Was this translation helpful? Give feedback.
3 replies
-
It was added by this commit without an |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi have 2 errors saying that the word
final
has been added (API change) and that the major version should be incremented:Here are the descriptions, for reference:
org.eclipse.jdt.ui.text.folding.DefaultJavaFoldingStructureProvider.alignRegion(IRegion, DefaultJavaFoldingStructureProvider.FoldingStructureComputationContext)
And here's the method signature:
These errors only show up sometimes and then they go away. I still don't know how they go away though and I would like to remedy them on my own so I don't have to see them in the first place.
Some other details:
Bundle-Version
in the MANIFEST just to force some API check. It didn't work.final
makes both errors disappearfinal
in another (non-broken) workspace with the same projects in the same state does not generate any errors, though I think it should.Does anyone know why do these errors even show up and how can I get rid of them?
Bonus question: shouldn't there be a new error when I remove the word
final
in the other workspace?Thank you in advance for your help.
Beta Was this translation helpful? Give feedback.
All reactions