-
Notifications
You must be signed in to change notification settings - Fork 139
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
DRAFT: Make AST map pre 1.8 versions to 1.8 #3533
base: master
Are you sure you want to change the base?
Conversation
@iloveeclipse What do you think? |
Jenkins is not accessible, how many test fails are there? I'm not AST expert, I can only remember I've tried to use latest AST in JDT debug and that failed with tons of errors... |
Jenkins issue is https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/5498 . My question is more about the goal not that much about the work involved ( I know it will require quite some). |
I assume working with "old" level AST for Java version we don't support anymore should be more of academic interest? I don't know if consumers like Xtext use AST at some minimal JLS level internally and expect us to keep it going forever. @szarnekow ?
I see I've finally managed to fix it: eclipse-jdt/eclipse.jdt.debug#109, so that should be fine. |
As the compiler mandates 1.8 already it makes sense for the AST to do the same.
@iloveeclipse FYI, there are no test failures, presumably because the maps changes make tests run with 1.8 level which all the tests are supposedly succeeding with. |
Cool. |
May I assume that if @szarnekow (or someone else ) doesn't raise serious concern this approach if fine to proceed with? |
@mpalat, @srikanth-sankaran, @jarthana , @noopur2507 : any objections? |
@akurtakov : looking at the code, you only touched the mapping. But the AST constructor still uses
Do you plan to update this as well? |
Yes, I do. Also cleaning the tests to not run old compliance e.g jls2 compliance ( Line 621 in 0c3986b
Line 628 in 0c3986b
|
As the compiler mandates 1.8 already it makes sense for the AST to do the same.