[hibernate-issues] [JIRA] (HV-1796) Kotlin extension function on parameterized type leads to ArrayIndexOutOfBoundsException during validateParameters

Frédéric Chuong (JIRA) jira at hibernate.atlassian.net
Wed Aug 5 11:19:17 EDT 2020


Frédéric Chuong ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A4ca290af-dd15-4cd2-ba2d-7a48f3908c1f ) *commented* on HV-1796 ( https://hibernate.atlassian.net/browse/HV-1796?atlOrigin=eyJpIjoiNGRjNzY0ODI4ZWRlNGUwZmJjN2Y1MTM1OGUxMTM3MzQiLCJwIjoiaiJ9 )

Re: Kotlin extension function on parameterized type leads to ArrayIndexOutOfBoundsException during validateParameters ( https://hibernate.atlassian.net/browse/HV-1796?atlOrigin=eyJpIjoiNGRjNzY0ODI4ZWRlNGUwZmJjN2Y1MTM1OGUxMTM3MzQiLCJwIjoiaiJ9 )

It seems the problem is upstream in the Kotlin compiler when javaParameters = true as such inconsistency can be reproduced without Hibernate Validator by mere use of reflection APIs.

KT-40857 ( https://youtrack.jetbrains.com/issue/KT-40857 ) created against the Kotlin project. I guess you could close this issue as the root cause is out of this project scope.

( https://hibernate.atlassian.net/browse/HV-1796#add-comment?atlOrigin=eyJpIjoiNGRjNzY0ODI4ZWRlNGUwZmJjN2Y1MTM1OGUxMTM3MzQiLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/HV-1796#add-comment?atlOrigin=eyJpIjoiNGRjNzY0ODI4ZWRlNGUwZmJjN2Y1MTM1OGUxMTM3MzQiLCJwIjoiaiJ9 )

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#100141- sha1:76df2fe )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200805/7cacaade/attachment.html 


More information about the hibernate-issues mailing list