How can I make a JVM static function without using...
# compiler
c
How can I make a JVM static function without using a companion object? GraalVM native image is being really funky with it and errors out.
h
Top level functions?
c
@Hanno Nope.. Top level functions also fail
h
Whats the error? Top level fun compile to regular statics, so it must be an other issue i guess
👍 1
s
Isnt there a @JvmStatic annotation?
☝️ 1
g
Even companion object compiles to a pretty standard JVM, it shouldn't cause problems for graalvm, if it does probably it's a bug and better report it to graalvm