Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 389926

Summary: Update JDT compiler to final Juno release
Product: z_Archived Reporter: Achim Demelt <achim.demelt>
Component: TychoAssignee: Project Inbox <tycho-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: major    
Priority: P3 CC: igor, tom.schindl
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Achim Demelt CLA 2012-09-19 13:55:44 EDT
I kindly ask to backport bug #386187 (update tycho to use released Juno dependencies) to Tycho 0.15.x. The JDT version used in 0.15.0 appears to be from May 2, which happens to suffer from some bugs that have been fixed in time for the Juno release.

One of these bugs is bug #380927 (VerifyError issue with inconsistent stack map frames). This bug appears consistently when using Xtext in conjunction with Java 7. The problem now is that building and running Xtext plugins within Eclipse (Juno) and PDE Runtime works fine, but when everything is build on the CI server with Tycho, the old (buggy) version of JDT is used and users installing the plugins will see the "inconsistent stackmap frame" errors. See bug #389454 for an example.

There is nothing that we as Tycho users can do to work around this bug other than NOT using Tycho, which is obviously not an option...
Comment 1 Igor Fedorenko CLA 2012-09-19 14:20:02 EDT
Tycho 0.15 was released before Juno and used latest RC jdt compiler available at the time. Tycho 0.16 already uses jdt compiler 3.8.1.v20120531-0637, which I believe corresponds to final Juno version. There are no plans to release Tycho 0.15.x at this point, but even with current 0.15.0 you should be able to force the new jdt compiler version with plugin <dependency> element in your pom.xml file.
Comment 2 Igor Fedorenko CLA 2012-09-19 16:05:49 EDT
*** Bug 389454 has been marked as a duplicate of this bug. ***