Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] When can we expect a Java9-ready Tycho release?

I agree Java 9 support is an important feature.

I prepared a commit to use JDT from Oxygen 1a 
https://git.eclipse.org/r/#/c/109979/


Unfortunately looks like it's not that easy.
We have to use Java 9 for compiling Tycho as JDT now requires Java 9.

Compilation of this patch using Java 9 currently fails with errors like

[ERROR] The type java.lang.String cannot be resolved. It is indirectly referenced from required .class files


so we are back to the original issue reported in
https://bugs.eclipse.org/bugs/show_bug.cgi?id=514471


maybe I'm missing something obvious here?
Could use some advice from JDT experts.


Regards,
Jan




On 13.10.17, 09:47, "tycho-user-bounces@xxxxxxxxxxx on behalf of Mickael Istria" <tycho-user-bounces@xxxxxxxxxxx on behalf of mistria@xxxxxxxxxx> wrote:

    Hi,
    
    
    JDT compiler is fully ready for Java 9 as of Photon M3/Oxygen 1a. It may miss a few features related to other Java 9 stuff, but compiler is already ready.
    
    So I think it would be great if Tycho could be ready for Java 9 asap by pulling newer JDT bundles, as there is already value for many users in it. Some RCPs do include a JVM directly, and might already prefer using, buiding on top of and shipping Java9 for
     several reasons such as performance or to easily tailor the JVM for their apps; and those RCP are most likely using Tycho. So I see a huge value for the community in shipping Java 9 compilation support soon.
    That said, I believe Tycho typically waits for JDT milestones to be ready before consuming them, doesn't it? According to
    
    https://www.eclipse.org/projects/project-plan.php?planurl=http://www.eclipse.org/eclipse/development/plans/eclipse_project_plan_4_8.xml <https://www.eclipse.org/projects/project-plan.php?planurl=http://www.eclipse.org/eclipse/development/plans/eclipse_project_plan_4_8.xml> , Photon M3 will be shipped on Oct 27th.
    
    
    


Back to the top