eclipse-sirius / sirius-emf-json

JSON-based EMF Resource implementation - part of Eclipse Sirius
https://eclipse.dev/sirius/sirius-web.html
Eclipse Public License 2.0
5 stars 10 forks source link

Move to Google Gson 2.9.0 #8

Open pcdavid opened 2 years ago

pcdavid commented 2 years ago

We are currently using Gson 2.8.9, which can have issues in some cases when run under Java 16+: https://github.com/google/gson/issues/1875

Once https://git.eclipse.org/r/c/orbit/orbit-recipes/+/193589 is merged, Gson 2.9.0 will be available in Orbit (in I-builds at first) and we can consume it from our target platform.

pcdavid commented 2 years ago

Actually it seems we are building against v2.8.2 from this Orbit repo when building "for Eclipse".

pcdavid commented 2 years ago

On the web side, the move to Gson 2.9.0 was made in Spring Boot 2.7.0 (M2): https://github.com/spring-projects/spring-boot/releases/tag/v2.7.0-M2

pcdavid commented 2 years ago

The patch to contribute Gson 2.9.0 into Orbit has been merged. It's available in https://download.eclipse.org/tools/orbit/downloads/drops/I20220706225153/ (and the next M & R builds).

pcdavid commented 5 months ago

The most recent Orbit release at https://download.eclipse.org/tools/orbit/simrel/orbit-aggregation/release/4.30.0 now includes Gson 2.10.1 (the latest at the moment).