Issues

Select view

Select search mode

 
12 of 12

Remove use of @AutomaticFeature in GraalVM module

Fixed

Description

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 : as the graal-sdk doesn’t expose this annotation.

However this is not a backport of , 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.

Details

Assignee

Reporter

Fix versions

Priority

Created September 27, 2022 at 9:22 AM
Updated September 27, 2022 at 10:48 AM
Resolved September 27, 2022 at 10:48 AM

Activity

Show:

Flag notifications