FarCry fails to start with JDK 11


#1

Hi,

Has anyone managed to get FarCry working when using JDK 11? With earlier JDK versions e.g. v10 that shipped with CF2018 we needed to put --add-modules=java.corba in the jvm.config (as noted by Sean Some notes on CF 2018 Support).

With JDK 11 the Corba modules have now been completely removed. Without the modules FarCry fails to start due to getting errors in packages/farcry/javaloader/javaloader.cfc (starting with line 86).

Regards
Mark


#2

We haven’t deployed anything on Java 11 just yet as we were awaiting Lucee 5.3 for Java 11 support, nor have we tested CF2018 with Java 11. Looks like we will need to put aside some time to have a look at it, it seems that JavaLoader is currently used for combine / minify JS, UUID generation and password hashing. I think they should be relatively easy to fix (combine already supports disabling JavaLoader).

Do you have a deadline for deploying Java 11?


#3

Thanks for the quick reply Justin. Yeah tomorrow actually :slight_smile: but all good as I’ve just backed out the JDK 11 installation and reverted to our previous version. I was doing the upgrade due to a request from our security team. I’ll flag the JDK 11 deployment as technical debt and revisit it later once you guys have updated FarCry for Lucee 5.3/JDK11.