AssertionError exception is thrown by SqlFunctionMetadataBuilderContributorIllegalClassArgumentTest when executing on IBM JDK 8

Description

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)
...

Web links

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created March 27, 2020 at 8:32 AM
Updated February 8, 2024 at 10:02 AM
Resolved February 5, 2024 at 12:35 PM