You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
xtend converts `.last` to `List.getLast()` if the JVM it is running
under has it, so the generated java files will use `List.getLast()`
even though we want to target older JVM. `List.getLast()` was introduced
in Java 21, which is newer than our supported version of Java11.
This is the workaround recommended in eclipse-xtext/xtext#3535
Copy file name to clipboardExpand all lines: org.eclipse.lsp4j.generator/src/main/java/org/eclipse/lsp4j/generator/JsonRpcDataTransformationContext.xtend
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ class JsonRpcDataTransformationContext implements TransformationContext {
0 commit comments