This is a followup of https://github.com/kuromogeko/graal-consent. For an explanation of the application and its purpose please refer to the original repository.
This Readme will list differences to the original App.
Unlike the original this depends on Spring Boot 3 and GraalVM CE with a minimum Version of 22.3.
Is now achieved by running
mvn -Pnative native:compile
A Docker build could be run using Paketobuilder but is untested.
mvn -Pnative spring-boot:build-image
Reflect Config gains a new Entry apparently due to a change in how Spring AOT interacts with Jackson.
{
"name": "de.examples.graal.consent.consent.domain.actors.user.UserCharacteristic",
"allPublicFields": true,
"allDeclaredFields": true,
"allDeclaredConstructors": true,
"allPublicConstructors": true,
"allDeclaredMethods": true,
"allPublicMethods": true
}
Javascript in this project ist currently disabled (ConsentEventListener not registered as component, language:js removed in call to native image). This is due to Spring Boot now requiring the Graal native Compiler Feature ParseOnce
. Truffle Languages however require ParseOnce to be disabled to work. The Issue is also known to the GraalVM Development team and will be fixed with a later release.
Issue