Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 539081

Summary: [12] Switch AST to JLS12 for ASTView
Product: [Eclipse Project] JDT Reporter: Sarika Sinha <sarika.sinha>
Component: UIAssignee: Noopur Gupta <noopur_gupta>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: daniel_megert, kalyan_prasad, noopur_gupta
Version: 4.9   
Target Milestone: BETA J12   
Hardware: All   
OS: All   
See Also: https://git.eclipse.org/r/136404
Whiteboard:
Bug Depends on: 542558, 544748, 545249    
Bug Blocks: 539063, 545120    

Description Sarika Sinha CLA 2018-09-14 09:51:11 EDT
Switch AST to JLS12 for ASTView.
Comment 1 Sarika Sinha CLA 2019-01-25 01:31:51 EST Comment hidden (obsolete)
Comment 2 Noopur Gupta CLA 2019-01-25 01:40:03 EST
This should also add support for new AST nodes and bindings in the AST view.

Sarika, are you planning to work on this bug?
Comment 3 Sarika Sinha CLA 2019-01-25 01:45:21 EST
No, Noopur just that I needed to move the latest to 12 for DOM work verification in AST view.
Comment 4 Noopur Gupta CLA 2019-02-06 01:55:37 EST
The new AST structure has been released in bug 542558 (ASTRewrite is pending).

Kalyan, you can now update the ASTView to show the new structure and bindings. It will be useful in further development in UI where AST is used.
Comment 5 Eclipse Genie CLA 2019-02-07 04:58:23 EST
New Gerrit change created: https://git.eclipse.org/r/136404
Comment 6 Eclipse Genie CLA 2019-02-07 04:58:31 EST
Gerrit change https://git.eclipse.org/r/136404 was merged to [BETA_JAVA_12].
Commit: http://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=2c4bb4c77bcec2db87c696b04bea289c6172c9b4
Comment 7 Noopur Gupta CLA 2019-02-07 05:02:22 EST
(In reply to Eclipse Genie from comment #6)
> Gerrit change https://git.eclipse.org/r/136404 was merged to [BETA_JAVA_12].
> Commit:
> http://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=2c4bb4c77bcec2db87c696b04bea289c6172c9b4
Added new AST level in AST view. SwitchCase node still doesn't show the expressions list. I will look into it. 

I am taking this bug as I am already checking it along with bug 539081.
Comment 8 Eclipse Genie CLA 2019-02-07 05:27:58 EST Comment hidden (obsolete)
Comment 9 Noopur Gupta CLA 2019-02-26 07:54:46 EST
(In reply to Noopur Gupta from comment #7)
> (In reply to Eclipse Genie from comment #6)
> > Gerrit change https://git.eclipse.org/r/136404 was merged to [BETA_JAVA_12].
> > Commit:
> > http://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=2c4bb4c77bcec2db87c696b04bea289c6172c9b4
> Added new AST level in AST view. SwitchCase node still doesn't show the
> expressions list. I will look into it. 
This is now fixed.