[hibernate-issues] [JIRA] (HHH-13966) java.lang.IncompatibleClassChangeError exception is thrown by org.hibernate.test.typeoverride.TypeOverrideTest when executing on Eclipse OpenJ9 VM AdoptOpenJDK (v. 11.0.6)

Fabio Burzigotti (JIRA) jira at hibernate.atlassian.net
Wed Apr 22 05:08:39 EDT 2020


Fabio Burzigotti ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5e7a010061dfd90c30a92f4e ) *created* an issue

Hibernate ORM ( https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiZDczZjMyZjRhNjE2NDk3Zjk1NmVlNjhlODViYWI3NjYiLCJwIjoiaiJ9 ) / Bug ( https://hibernate.atlassian.net/browse/HHH-13966?atlOrigin=eyJpIjoiZDczZjMyZjRhNjE2NDk3Zjk1NmVlNjhlODViYWI3NjYiLCJwIjoiaiJ9 ) HHH-13966 ( https://hibernate.atlassian.net/browse/HHH-13966?atlOrigin=eyJpIjoiZDczZjMyZjRhNjE2NDk3Zjk1NmVlNjhlODViYWI3NjYiLCJwIjoiaiJ9 ) java.lang.IncompatibleClassChangeError exception is thrown by org.hibernate.test.typeoverride.TypeOverrideTest when executing on Eclipse OpenJ9 VM AdoptOpenJDK (v. 11.0.6) ( https://hibernate.atlassian.net/browse/HHH-13966?atlOrigin=eyJpIjoiZDczZjMyZjRhNjE2NDk3Zjk1NmVlNjhlODViYWI3NjYiLCJwIjoiaiJ9 )

Issue Type: Bug Affects Versions: 5.3.14 Assignee: Unassigned Components: testsuite Created: 22/Apr/2020 02:08 AM Environment: openjdk version "11.0.6" 2020-01-14
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.6+10)
Eclipse OpenJ9 VM AdoptOpenJDK (build openj9-0.18.1, JRE 11 Linux amd64-64-Bit Compressed References 20200122_441 (JIT enabled, AOT enabled)
OpenJ9 - 51a5857d2
OMR - 7a1b0239a
JCL - da35e0c380 based on jdk-11.0.6+10)

OS name: "linux", version: "3.10.0-1062.el7.x86_64", arch: "amd64", family: "unix" Priority: Major Reporter: Fabio Burzigotti ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5e7a010061dfd90c30a92f4e )

When using IBM JDK 8 (see Environment details), a java.lang.AssertionError exception is thrown by SqlFunctionMetadataBuilderContributorIllegalClassArgumentTest when the following commands are executed to run the Hibernate ORM tests.

# make gradle ignore test failures
echo -e '\ntest { ignoreFailures= true }' >> hibernate-core/hibernate-core.gradle
echo -e '\ntest { ignoreFailures= true }' >> hibernate-agroal/hibernate-agroal.gradle
echo -e '\ntest { ignoreFailures= true }' >> hibernate-c3p0/hibernate-c3p0.gradle
echo -e '\ntest { ignoreFailures= true }' >> hibernate-ehcache/hibernate-ehcache.gradle
echo -e '\ntest { ignoreFailures= true }' >> hibernate-envers/hibernate-envers.gradle
echo -e '\ntest { ignoreFailures= true }' >> hibernate-proxool/hibernate-proxool.gradle

./gradlew test -Dmaven.repo.url=http: //jcenter.bintray.com -Dgradle.plugin.url=https://plugins.gradle.org/m2/ \
       -Dhibernate.show_sql= true -Dhibernate.format_sql= true --info --stacktrace -x :hibernate-core:classes \
       -x :hibernate-envers:classes -x :hibernate-ehcache:test -x :hibernate-hikaricp:test -x :hibernate-jcache:test \
       -x :hibernate-vibur:test -x :hibernate-osgi:test -x :documentation:test -x :hibernate-spatial:test \
       -x :hibernate-testing:test --project-cache-dir=/tmp -- continue -g local-home

*Stack trace:*
...
10:40:04 org.hibernate.boot.spi.metadatabuildercontributor.SqlFunctionMetadataBuilderContributorIllegalClassArgumentTest > test FAILED
10:40:04 java.lang.AssertionError
10:40:04 at org.junit.Assert.fail(Assert.java:86)
10:40:04 at org.junit.Assert.assertTrue(Assert.java:41)
10:40:04 at org.junit.Assert.assertTrue(Assert.java:52)
10:40:04 at org.hibernate.boot.spi.metadatabuildercontributor.SqlFunctionMetadataBuilderContributorIllegalClassArgumentTest.buildEntityManagerFactory(SqlFunctionMetadataBuilderContributorIllegalClassArgumentTest.java:38)
...

( https://hibernate.atlassian.net/browse/HHH-13966#add-comment?atlOrigin=eyJpIjoiZDczZjMyZjRhNjE2NDk3Zjk1NmVlNjhlODViYWI3NjYiLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/HHH-13966#add-comment?atlOrigin=eyJpIjoiZDczZjMyZjRhNjE2NDk3Zjk1NmVlNjhlODViYWI3NjYiLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100125- sha1:0a83519 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200422/76d8bec5/attachment.html 


More information about the hibernate-issues mailing list