reiern70 commented on PR #1963:
URL: https://github.com/apache/wicket/pull/1963#issuecomment-7022687461

   @bitstorm the `build (27)` failure here does not come from this change: 
`master` fails the same way since c559d26f45 moved the CI matrix to Java 27 
([run on master](https://github.com/apache/wicket/actions/runs/44566133840)). 
The `build (21)` job was only cancelled by the matrix's fail-fast.
   
   In `wicket-migration`, `MigrateToWicket10Test.migrateImports` fails with 
`IllegalStateException: Unable to construct Java25Parser`, caused by 
`NoSuchFieldError: Class com.sun.tools.javac.main.JavaCompiler does not have 
member field 'boolean genEndPos'`. OpenRewrite supports LTS releases only and 
does not plan to support Java 27 for now 
(https://github.com/openrewrite/rewrite/issues/7554). Its latest release, 
8.90.4, still uses that field, so upgrading does not help. The other migration 
tests only parse poms and pass on 27.
   
   The ways out I see are to disable `migrateImports` on Java 27 and later 
(`@DisabledForJreRange(minVersion = 27)`), or to go back to 26 in the matrix. I 
leave that to you. Once `master` is green again, I will merge it into this 
branch.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to