Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

[eclipse/xtext#1982] support for java 17 #1390

Merged
merged 1 commit into from
Oct 10, 2022
Merged

Conversation

cdietrich
Copy link
Member

@cdietrich cdietrich commented Oct 10, 2022

[eclipse-xtext/xtext#1982] support for java 17

@cdietrich cdietrich added this to the Release_2.29 milestone Oct 10, 2022
@cdietrich cdietrich requested a review from szarnekow October 10, 2022 07:39
@@ -1774,7 +1774,14 @@ class JavaASTFlattener extends ASTVisitor {
appendToBuffer("default ")
} else {
appendToBuffer("case ")
node.getExpression().accept(this)
if (ASTParserFactory.asJLS(targetApiLevel) >= 14) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIRC this is J2X - shall we drop that feature?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

think about. yes

@cdietrich cdietrich force-pushed the cd_platformUpdateExp branch from 63215ef to 6bdae51 Compare October 10, 2022 15:43
@cdietrich cdietrich changed the title [ecl[eclipse/xtext#1982] support for java 17 [eclipse/xtext#1982] support for java 17 Oct 10, 2022
@cdietrich cdietrich force-pushed the cd_platformUpdateExp branch from 6bdae51 to 23f2d52 Compare October 10, 2022 16:27
@cdietrich cdietrich merged commit 706c354 into master Oct 10, 2022
@cdietrich cdietrich deleted the cd_platformUpdateExp branch October 10, 2022 16:27
cdietrich added a commit that referenced this pull request Oct 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants