Wildfly Java14+ support

61 views
Skip to first unread message

Nir Lisker

unread,
May 5, 2021, 11:59:40 AM5/5/21
to WildFly
I saw that Wildfly 23 still only supports JDK 13. This version is 2 years old now. Soon the next LTS release, 17, is coming out and we want to transition, but it seems that we won't be able to, and I don't know for how long this will be the case.
The new Java versions offer A LOT of performance improvements that save on hardware costs, and many new features like records and pattern matching that we want to utilize.

When can we expect to be able to run Wildfly on a modern JDK?

James Perkins

unread,
May 5, 2021, 12:04:43 PM5/5/21
to WildFly
What kind of issues are you seeing? While I haven't tried a real world application I was able to run some of the quickstarts on Java 16 with no problems. 

There is also active work being done to support the newer versions of Java 15+. I've seen some issues filed, but if you've seen some specific issues please let us know.

Nir Lisker

unread,
May 5, 2021, 12:19:11 PM5/5/21
to James Perkins, WildFly
I did not try to run my applications. I read that there were package removals in 14 that were not compensated for yet in Wildfly, so I assumed there would be issues and didn't want to spend time on a seemingly futile endeavor. Additionally, I don't like going out of specs.
If you are saying that it's actually worthwhile to try and there is a chance things will work, then I'll give it a shot.

--
You received this message because you are subscribed to a topic in the Google Groups "WildFly" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/wildfly/quZqJtTPH38/unsubscribe.
To unsubscribe from this group and all its topics, send an email to wildfly+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wildfly/e22658dc-c702-4e7e-9583-8857f46167c9n%40googlegroups.com.

James Perkins

unread,
May 5, 2021, 12:29:51 PM5/5/21
to WildFly
There is a CI job that runs on Java 15 with the WildFly Preview, which is Jakarta EE 9, https://ci.wildfly.org/buildConfiguration/WF_Ee9LinuxJdk15?mode=builds (you can just click the "Login in as Guest" to see the results). That might give you some ideas on what issues are currently being seen. 

I will say it is actively being worked on. We definitely want to support Java 17.

Nir Lisker

unread,
May 10, 2021, 2:33:46 PM5/10/21
to James Perkins, WildFly
I managed to get my WAR running on Wilfly 23 using Java 16 (even with prevoew features). So far no issues.

If I run into any, is it worth reporting them or not because it's out of spec?

Thanks

James Perkins

unread,
May 10, 2021, 2:59:27 PM5/10/21
to WildFly
Hi Nir,
Yes please report them to https://issues.redhat.com/browse/WFLY.

Reply all
Reply to author
Forward
0 new messages