Description
Feature request
Is your feature request related to a problem? Please describe.
When starting within native image, we need to carry out some maintenance of the framework (I am from project Helidon). This includes setting up logging, reading configuration and registering it etc.
Currently we need to put this kind of initialization into places we hope will be executed early enough, before user code, which is not always the case.
Describe the solution you'd like.
It would be great if I could register a "pre-main" event listener - a class, or static method that would be invoked when the native image starts, but before user code is invoked.
Describe who do you think will benefit the most.
Developers of libraries and frameworks which depend on GraalVM
GraalVM users
Describe alternatives you've considered.
I could not find any alternative solution to this problem