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,
-> "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 for latest Y build and then navigate to the latest Y build site ( current version) and then you can see the command line compiler available there (current version).

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.

Regards,
Manoj



Inactive hide details for "Sievers, Jan" ---03/31/2017 05:25:55 PM---Hi, I was trying to use Java 9 build 162 to compile the Ty"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





Back to the top