Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-core-dev] JDT batch compiler and Java 9

Hi Jan,
The JMOD support is tracked via https://bugs.eclipse.org/bugs/show_bug.cgi?id=500905 - Support is not yet in for command line compiler (ref comment 4).

Regards,
Manoj

Inactive hide details for "Sievers, Jan" ---04/03/2017 01:20:00 PM---thanks.  I will double-check again with the JDT version yo"Sievers, Jan" ---04/03/2017 01:20:00 PM---thanks. I will double-check again with the JDT version you provided but looks to me like support fo

From: "Sievers, Jan" <jan.sievers@xxxxxxx>
To: "Eclipse JDT Core developers list." <jdt-core-dev@xxxxxxxxxxx>
Date: 04/03/2017 01:20 PM
Subject: Re: [jdt-core-dev] JDT batch compiler and Java 9
Sent by: jdt-core-dev-bounces@xxxxxxxxxxx





thanks.

I will double-check again with the JDT version you provided but looks to me like support for jmod files is still missing in the batch compiler Main or I have to specify some new commandline argument like --system to make it aware of classes provided by the JDK.

Best Regards,
Jan

On 31.03.17, 22:58, "jdt-core-dev-bounces@xxxxxxxxxxx on behalf of Manoj Palat" <jdt-core-dev-bounces@xxxxxxxxxxx on behalf of manoj.palat@xxxxxxxxxx> wrote:

Hi Jan,
-> "Is the JDT batch compiler supposed to work with Java 9 already?"

Command line options of the command line compiler support is in progress tracked via :
https://bugs.eclipse.org/bugs/show_bug.cgi?id=487421. Compilation of module-info works anyway - same state as IDE since internally, the basic compilation
part is shared with that of IDE.

You can go to YBuild
<
http://download.eclipse.org/eclipse/downloads/YIndex.php>for latest Y build and then navigate to the latest Y build site (
current version <
http://download.eclipse.org/eclipse/downloads/drops4/Y20170309-1000/>) and then you can see the command line compiler available there (current
version <
http://download.eclipse.org/eclipse/downloads/drops4/Y20170309-1000/download.php?dropFile=ecj-Y20170309-1000.jar>).

To answer, which version of Java 9 compiler we have tested with, the latest version on which it was tested is updated at the
Java 9 support for Oxygen site <
https://marketplace.eclipse.org/content/java-9-support-beta-oxygen>.

Regards,
Manoj



"Sievers,
Jan" ---03/31/2017 05:25:55 PM---Hi, I was trying to use Java 9 build 162 to compile the Tycho demo project

From: "Sievers, Jan" <jan.sievers@xxxxxxx>
To: "jdt-core-dev@xxxxxxxxxxx" <jdt-core-dev@xxxxxxxxxxx>
Date: 03/31/2017 05:25 PM
Subject: [jdt-core-dev] JDT batch compiler and Java 9
Sent by: jdt-core-dev-bounces@xxxxxxxxxxx

________________________________________



Hi,

I was trying to use Java 9 build 162 to compile the Tycho demo project
https://github.com/eclipse/tycho-demo/tree/master/itp04-rcp 
which failed, details see [1]

I'm trying to figure out whether the problem is in Tycho or in JDT (or both).

Is the JDT batch compiler supposed to work with Java 9 already?
I was looking at the BETA_JAVA9 branch [2] and used latest Y-build from [3]
Are these the correct places to look for JDT core with support for Java 9?

Not sure if relevant but we use the batch compiler Main in-process i.e. we do not fork for compilation.

I found comment [4] and bug [5] which seem to indicate support for jmod files is missing in the batch compiler but wanted to check with you what's the general state of JDT batch compiler with Java 9.

Thanks in advance,
Jan

[1]
https://bugs.eclipse.org/bugs/show_bug.cgi?id=514471
[2]
https://github.com/eclipse/eclipse.jdt.core/tree/BETA_JAVA9
[3]
http://download.eclipse.org/eclipse/updates/4.7-Y-builds 
[4]
https://github.com/eclipse/eclipse.jdt.core/blob/b83faf7320b732fa5955d1e8aa0da3684ea2b5bd/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/FileSystem.java#L251 
[5]
https://bugs.eclipse.org/bugs/show_bug.cgi?id=500905 



_______________________________________________
jdt-core-dev mailing list
jdt-core-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jdt-core-dev






_______________________________________________
jdt-core-dev mailing list
jdt-core-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jdt-core-dev





Back to the top