[hibernate-dev] ORM and Java 9

Scott Marlow smarlow at redhat.com
Thu Sep 29 09:46:38 EDT 2016



On 09/27/2016 08:15 PM, Steve Ebersole wrote:
> It seems like Shigeru and team have Javassist Java 9 compatible now.  Per
> https://issues.jboss.org/browse/JASSIST-261 I have played with the propsed
> changes using a SNAPSHOT of that built and pushed by Scott.  Using that
> SNAPSHOT, all those tests which used to fail due to Javassist now pass.

I'd really like to get this working with ORM 5.1, since that is what we 
want to upgrade WildFly 11 to use.  The best idea that I have for that 
would be via a Javassist 3.18.3-GA that would contain a backport of the 
https://github.com/jboss-javassist/javassist/tree/test/java9-jigsaw 
changes (which means that we would need to build 3.18.3-GA with the JDK9 
EA javac.)

I'm not sure if we have enough time to do this (Javassist) backport but 
if that is the best way to get ORM 5.1 working with JDK9, we could do 
the work, when we find the time.  This would likely be after Java9 
stabilizes.

Thoughts?

>
> We do still have some failures under Java 9 which are now all attributable
> to the version of WildFly we use for some Arquillian-based testing not
> being Java 9 compatible.  But WildFly is now Java 9 compatible from what I
> understand.  Anyone know if there is a WildFly 10 release yet that is Java
> 9 compatible?

As discussed on IRC, not yet, as Java 9 is still changing.  There is a 
nightly build WildFly build that produces a zip [1].

Scott

[1] 
https://ci.wildfly.org/repository/download/WF_Nightly/latest.lastSuccessful/wildfly-11.0.0.Alpha1-SNAPSHOT.zip


More information about the hibernate-dev mailing list