Thank you for sharing your use case @PauloLopes 👍🏻 Quite straightforward.
If it's possible we might want to avoid hard-coding the "graalvm", though I can't think of other option yet 🤔 On Fri, Jul 28, 2023 at 12:14 AM Paulo Lopes <pmlo...@gmail.com> wrote: > Hi, > > In es4x I had to do a similar check without relying on GraalVM classes, > this works for me: > > > https://github.com/reactiverse/es4x/blob/develop/pm/src/main/java/io/reactiverse/es4x/cli/GraalVMVersion.java > > You probably don't need all that the functionality, just the boolean > GRAALVM > > Cheers, > Paulo > > On Thursday, July 27, 2023 at 5:50:39 AM UTC+2 Tatu Saloranta wrote: > >> Quick "Bat signal" style request for help with GraalVM: I think we >> have some devs here who are somewhat familiar with GraalVM runtime, >> and I was hoping to get some help with this issue: >> >> https://github.com/FasterXML/jackson-modules-base/issues/191 >> >> where basically it'd be good to auto-detect, if possible, whether the >> current runtime environment is GraalVM. >> >> Knowing this would let modules like Afterburner and Blackbird >> gracefully degrade: instead of failing, just avoiding attempts to do >> dynamic bytecode generation when that will not succeed. >> This would be useful for users who might not want to customize setup >> across Graal/non-Graal cases, or frameworks, so that they can register >> AB/BB without causing failures. >> >> -+ Tatu +- >> > -- > You received this message because you are subscribed to the Google Groups > "jackson-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jackson-dev+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jackson-dev/fcf76ea3-8ffa-4415-b198-97d6cb3c0c70n%40googlegroups.com > <https://groups.google.com/d/msgid/jackson-dev/fcf76ea3-8ffa-4415-b198-97d6cb3c0c70n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "jackson-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to jackson-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jackson-dev/CALS-ipwiSu5Eckhqji%3DsnZCLZ1zeUEK8BwnG_yF_0R%3D6Qxf%2BNw%40mail.gmail.com.