Steven Tamm

Results 6 comments of Steven Tamm

There's an existing rubygem I'm trying to load in from a jar file for a specific internal testing use case. I'm trying out some existing ruby scripts that have a...

Is there a magic option to get a better stack trace? Just run this from junit. ``` public void testCase() { Context ctx = Context.newBuilder("ruby").allowNativeAccess(false).allowIO(true).build(); ctx.eval("ruby", "require(\"rubygems\")"); } ``` And...

``` public void testCase() { Context ctx = Context.newBuilder("ruby").allowNativeAccess(false).allowIO(true) .allowExperimentalOptions(true) .option("ruby.exceptions-print-java", "true") .option("ruby.backtraces-raise", "true") .build(); ctx.eval("ruby", "require(\"rubygems\")"); } ``` raise: core/posix.rb:28:in `resolve': native access is not allowed (SecurityError) from core/posix.rb:107:in...

If it isn't supported, it isn't supported. But graaljs and graalpython intercept these calls and go back through the nio filesystem. All python io goes through truffl. https://github.com/graalvm/graalpython/issues/123 ``` Fundamentally,...

The rubygem I'm using (restforce) doesn't appear to include any C extensions in itself or its dependencies. It does require native access for httpclient calls from the faraday gem, but...

Java->JS interop is still mostly broken. Using 20.2.0, it looks like JSRuntime.toPrimitiveFromForeign doesn't handle Date/Instance correctly and calls toString and tries to coerce it to a double. When I try...