Skip to content

Updated Guice to 7.0.0 and Guava to 32.1.2#89

Merged
tortmayr merged 1 commit intoeclipse-glsp:masterfrom
N1k145:guice
Sep 28, 2023
Merged

Updated Guice to 7.0.0 and Guava to 32.1.2#89
tortmayr merged 1 commit intoeclipse-glsp:masterfrom
N1k145:guice

Conversation

@N1k145
Copy link
Contributor

@N1k145 N1k145 commented Sep 27, 2023

Currently, Guice 5 and Guava up to 31 is used in the GLSP Server and Eclipse Integration

These Guava Versions are affected by CVE-2023-2976 classified as a high security risk.
This could be mitigated by updating to Guava 32.0.1 or higher (32.1.2 is part of the 2023-09 SimRel)

The Issue is that Guice 5 has an upper limit of Guava 31 and so an Update to Guice 6 or 7 is necessary.
Xtext already did this update to Guice 7, which is now part of the SimRel

The drawback is that an update to Guice 7 requires changing from javax.inject to jakarta.inject.
Besides that, there are probably no breaking changes that affect GLSP.

The current situation makes is very complicated to use Xtext and GLSP in the same runtime.

@tortmayr
Copy link
Contributor

The required server change has been merged. Could you please update the targets to:
https://download.eclipse.org/glsp/server/p2/nightly/1.1/1.1.0.202309280815/ ?

@N1k145
Copy link
Contributor Author

N1k145 commented Sep 28, 2023

I changed the repository as requested

@tortmayr tortmayr self-requested a review September 28, 2023 12:49
Copy link
Contributor

@tortmayr tortmayr left a comment

Choose a reason for hiding this comment

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

Looks good to me. Tested with every targetplatfom and everything works as expected.

@tortmayr tortmayr merged commit 14e5a20 into eclipse-glsp:master Sep 28, 2023
@N1k145 N1k145 deleted the guice branch September 28, 2023 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants