Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Problems with JDK 14
Problems with JDK 14 [message #1830185] Mon, 20 July 2020 08:22 Go to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1770
Registered: July 2009
Location: Firenze, Italy
Senior Member
Hi
I'm experimenting with Xtext, JDK 14 and Tycho (1.7.0).
When building with Tycho I get strange compilation errors like

appendable.append(";");
 	           ^^^^^^
The method append(JvmType) in the type ITreeAppendable is not applicable for the arguments (String)
...
.collect(Collectors.joining(", ")));
	                    ^^^^^^^
The method joining(CharSequence) in the type Collectors is not applicable for the arguments (String)


I don't understand where the problem is, so I was wondering if that might be related to JDT used by Xtext?
I have no compilation problem in Eclipse...

thanks in advance
Lorenzo


Re: Problems with JDK 14 [message #1830196 is a reply to message #1830185] Mon, 20 July 2020 10:19 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13645
Registered: July 2009
Senior Member
Hi, which Xtext version do you use? Can you try with the latest milestone


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Problems with JDK 14 [message #1830202 is a reply to message #1830196] Mon, 20 July 2020 11:57 Go to previous message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1770
Registered: July 2009
Location: Firenze, Italy
Senior Member
I'm using Xtext 2.22.0.
I'll try with the latest milestone as well


Previous Topic:post processing of the inferred meta model
Next Topic:Generating multiple objects within one rule
Goto Forum:
  


Current Time: Sun Nov 01 02:25:56 GMT 2020

Powered by FUDForum. Page generated in 0.01481 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top