gintool / gin

GI in No Time - a Simple Microframework for Genetic Improvement
MIT License
43 stars 21 forks source link

Upgrade JavaParser dependency #32

Closed matozoid closed 2 years ago

matozoid commented 5 years ago

It's rather behind, and much has been improved.

justynapt commented 3 years ago

Test failures when trying to upgrade beyond 3.65 due to updated behaviour for Node.getData, throwing an IllegalStateException rather than null: https://java.libhunt.com/javaparser-changelog/3.6.26. Compiles fine with 3.12 if the following changes are made: Module{Opens/Uses/Provides/Requires/Exports/}Stmt -> Module{Opens/Uses/Provides/Requires/Exports/}Directive ForeachStmt -> ForEachStmt SwitchEntryStmt -> SwitchEntry for BreakStmt: removeLabel -> removeValue in any case test failures need to be resolved first

sandybrownlee commented 3 years ago

Now updated to JavaParser 3.22.1. Required further changes:

sandybrownlee commented 2 years ago

4122ea4 now updated to 3.24.0. Closing.