Thanks to visit codestin.com
Credit goes to github.com

Skip to content

JDK 13/14 support #1324

@tomparle

Description

@tomparle

Hi everybody,

with the upcoming release of JDK 14 in March, I think we should try to be up-to-date with the latest JDK. I have spent several hours to start the work to support JDK 13, and here are the state so far :

  • Groovy upgraded to 2.5.8 (for jdk13 compatibility)
  • Jaxen upgraded to 1.2.0 (to avoid module conflict with org.w3c.dom)
  • one test had to be modified to prevent the use of reflection which has been forbidden by JDK-8210522 CSR.

It seems to work for simple projects, but I have two issues :

  • the JDT Compiler gives "Type already existing errors" when hot-recompiling classes in dev mode. I could force a policy so that all compile errors are ignored to go further, but that's far from ideal
  • modules do not work : the classes are not properly recompiled and lead to errors (like "FasterGT" : there are some conflicts between package names and compiled template names)

If you want to get a look or contribute, you can see the work in progress here : https://github.com/tomparle/play1/tree/upgrade-jdk-13

I'll try to make some more progress later but module errors seem hard to solve.
All comments appreciated !

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions