Sanne Grinovero (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *updated* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiM2IwNWFjZmI3...
) / Task (
https://hibernate.atlassian.net/browse/HHH-15555?atlOrigin=eyJpIjoiM2IwNW...
) HHH-15555 (
https://hibernate.atlassian.net/browse/HHH-15555?atlOrigin=eyJpIjoiM2IwNW...
) Remove use of @AutomaticFeature in GraalVM module (
https://hibernate.atlassian.net/browse/HHH-15555?atlOrigin=eyJpIjoiM2IwNW...
)
Change By: Sanne Grinovero (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
The annotation {{ com.oracle.svm.core.annotate.AutomaticFeature }} is deprecated, and the
GraalVM team recommends not enabling such features automatically, but rather have the user
opt-in explicitly, or list the feature among the native-image parameters in the metadata.
This also serves to align with what we already did in ORM 6 via
[
https://hibernate.atlassian.net/browse/HHH-15484|https://hibernate.atlass...]
: as the graal-sdk doesn’t expose this annotation.
However this is not a backport of
[
https://hibernate.atlassian.net/browse/HHH-15484|https://hibernate.atlass...]
, as the new API is not compatible with JDK8.
We will still rely on the existing svm artifact to compile our hibernate-graalvm
extension, but we’ll do so expecting it to be replaced by the graal-sdk artifact at
runtime - so this needs a little care to be runtime compatible with both libraries to
allow for the transition.
(
https://hibernate.atlassian.net/browse/HHH-15555#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-15555#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#100207- sha1:520255c )