Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] JDT version

We just switched a project to Tycho 0.21.0 targeting Eclipse 4.4 with JDK8 compiler compliance, and we are seeing JDT crash
 
[ERROR] Internal compiler error: java.lang.ArrayIndexOutOfBoundsException: -1 at org.eclipse.jdt.internal.compiler.codegen.StackMapFrame.addStackItem(StackMapFrame.java:92)
 
I can find plenty of defects logged with the same error, and they pretty much all say they’re fixed, pre-Luna.
 
It looks like Tycho 0.21.0 is using JDT 3.10.0 from the original Luna release, while Luna SRA has JDT 3.10.1, so I wanted to try and use the newer version. I’ve tried this
 
    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.eclipse.tycho</groupId>
                    <artifactId>tycho-compiler-plugin</artifactId>
                    <version>${tychoVersion}</version>
                    <dependencies>
                        <dependency>
                            <groupId>org.eclipse.jdt</groupId>
                            <artifactId>org.eclipse.jdt.core</artifactId>
                            <version>3.10.1.v20140902-1534</version>
                        </dependency>
                    </dependencies>
                </plugin>
            </plugins>
        </pluginManagement>
    </build>
 
But that fails because maven central doesn’t have that version. So how do I get Tycho to use the newer JDT?
 

This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message.

Back to the top