jlib-awslambda-logback icon indicating copy to clipboard operation
jlib-awslambda-logback copied to clipboard

add support for Graal VM

Open cforce opened this issue 1 year ago • 1 comments

Seems like that Graal compile fails because of classes shall or should not be reachable at compile time and runtime. A cfg entry in in oracle reachabiloity github repo is needed

Failed generating 'cloud-function-aws' after 1m 12s.
Error: Classes that should be initialized at run time got initialized during image building:
 org.slf4j.LoggerFactory was unintentionally initialized at build time. To see why org.slf4j.LoggerFactory got initialized use --trace-class-initialization=org.slf4j.LoggerFactory
Error: Classes that should be initialized at run time got initialized during image building:
ch.qos.logback.core.util.Duration was unintentionally initialized at build time. To see why ch.qos.logback.core.util.Duration got initialized use --trace-class-initialization=ch.qos.logback.core.util.Duration
ch.qos.logback.classic.model.ConfigurationModel was unintentionally initialized at build time. To see why ch.qos.logback.classic.model.ConfigurationModel got initialized use --trace-class-initialization=ch.qos.logback.classic.model.ConfigurationModel
To see how the classes got initialized, use --trace-class-initialization=org.slf4j.LoggerFactory,ch.qos.logback.core.util.Duration,ch.qos.logback.classic.model.ConfigurationModel
Error: Use -H:+ReportExceptionStackTraces to print stacktrace of underlying exception
Error: Image build request failed with exit status 1
[INFO] ------------------------------------------------------------------------

cforce avatar Dec 07 '22 10:12 cforce