'GraalVM build failure with "Blocklisted methods are reachable for runtime compilation"

Thank you for your time to help me with my problem. I'm a JAVA beginner but I'm very interested in this language. So I've been learning how to use its frameworks recently, but as you can see, I'm currently facing some problems from graalvm. I know it's silly, but what I want to ask is how to add or delete methods in blocklist from it's truffle polyglot engine.

I have try to add -H:-TruffleCheckBlockListMethods but it's not seem to work without -Dtruffle.TruffleRuntime=com.oracle.truffle.api.impl.DefaultTruffleRuntime, but with truffle runtime set will slow performance real bad. Any help please !

CI Report

I have read the source code from GitHub, they just add those functions into blocklist, WHY ??



Solution 1:[1]

probably you need to use truffle boundary

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 ans1genie