Fabio Burzigotti (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5e7a010...
) *updated* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiNDg4MDM5NTEw...
) / Bug (
https://hibernate.atlassian.net/browse/HHH-13965?atlOrigin=eyJpIjoiNDg4MD...
) HHH-13965 (
https://hibernate.atlassian.net/browse/HHH-13965?atlOrigin=eyJpIjoiNDg4MD...
) AssertionError exception is thrown by
SqlFunctionMetadataBuilderContributorIllegalClassArgumentTest when executing on Eclipse
OpenJ9 VM AdoptOpenJDK (v. 11.0.6) (
https://hibernate.atlassian.net/browse/HHH-13965?atlOrigin=eyJpIjoiNDg4MD...
)
Change By: Fabio Burzigotti (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5e7a010...
)
When using IBM JDK 8 Eclipse OpenJ9 VM AdoptOpenJDK (see _Environment_ details), a
java.lang.AssertionError exception is thrown by
SqlFunctionMetadataBuilderContributorIllegalClassArgumentTest when the following commands
are executed to run the Hibernate ORM tests.
{code:java}# 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{code}
*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)
at jdk. internal. reflect. GeneratedMethodAccessor22.invoke(Unknown Source)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at
org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298)
at
org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.lang.Thread.run(Thread.java:834)
...
(
https://hibernate.atlassian.net/browse/HHH-13965#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-13965#add-comment?atlOrigin=ey...
)
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....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100125- sha1:0a83519 )