Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update JDT #10082

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Update JDT #10082

wants to merge 4 commits into from

Conversation

vegegoku
Copy link
Member

@vegegoku vegegoku commented Jan 9, 2025

Use JDT jars from maven central rather than packaging our own

Fix #10026

Use JDT jars from maven central rather than packaging our own

Fix gwtproject#10026
Copy link
Member

@niloc132 niloc132 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just need to merge the tools PR first, so we can revert the CI change.

Copy link
Collaborator

@zbynek zbynek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also fixes a problem where bad classpath configuration caused the transitively included JDT 3.19 to be used, resulting in

java.lang.ArrayIndexOutOfBoundsException: Index 922 out of bounds for length 870
        at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:13150)
        at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:13407)
        at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:13364)
        at com.google.gwt.dev.javac.JdtCompiler$ParserImpl.parse(JdtCompiler.java:210)
        at org.eclipse.jdt.internal.compiler.parser.Parser.dietParse(Parser.java:11750)
        at org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java:851)
        at org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:394)
        at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:444)
        at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:426)

The dependency chain is

org.eclipse.jetty:apache-jsp:9.4.44.v20210927
   -> org.mortbay.jasper:apache-jsp:8.5.70
       -> org.eclipse.jdt:ecj:3.19.0

@vegegoku vegegoku requested a review from niloc132 January 22, 2025 06:37
Copy link
Member

@niloc132 niloc132 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Marking as "request changes", waiting for updates to the gwtproject/tools PR, then updating this to match.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use JDT jars from maven central rather than packaging our own
3 participants