Micronaut AOT optimized binaries should be compilable with GraalVM 22.
Actual Behaviour
Compilation fails with errors like:
You now have two options to resolve this:
1) If it is intended that objects of type 'io.micronaut.core.async.publisher.PublishersOptimizations' are persisted in the image heap, add
'--initialize-at-build-time=io.micronaut.core.async.publisher.PublishersOptimizations'
for all optimizations. These optimizations should be initialized at build time but they have to be explicit now.
Expected Behavior
Micronaut AOT optimized binaries should be compilable with GraalVM 22.
Actual Behaviour
Compilation fails with errors like:
for all optimizations. These optimizations should be initialized at build time but they have to be explicit now.
e.g I had to add this to a sample app:
Steps To Reproduce
No response
Environment Information
No response
Example Application
No response
Version
4.3.7