[hibernate-dev] ORM and Java 9

Steve Ebersole steve at hibernate.org
Thu Sep 29 10:03:20 EDT 2016


Sanne, sure.  But that sucks.  Because its not just "WF integration" we are
testing.  We also use that as the basis for testing how Hibernate works in
various in-container scenarios (CDI, BV, etc) which are not WF-specific.

So, at the moment I cannot begin to tell you, e.g., whether Hibernate's CDI
or BV integration work under Java 9...



On Thu, Sep 29, 2016 at 8:54 AM Sanne Grinovero <sanne at hibernate.org> wrote:

> Hi Steve,
>
> In Search and OGM we simply skip the Wildfly integration tests when
> running on Java 9.
>
> Sanne
>
> On 29 Sep 2016 14:49, "Scott Marlow" <smarlow at redhat.com> wrote:
>
>>
>>
>> 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
>>
> _______________________________________________
>> hibernate-dev mailing list
>> hibernate-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>>
>


More information about the hibernate-dev mailing list