Jared Wiltshire

Results 45 comments of Jared Wiltshire

@eleinadani Custom FS does nothing but delegate to an instance of `FileSystem.newDefaultFileSystem()` Note that I am not talking about module imports here, I am talking about the `load()` function. e.g....

Here's a quick test to demonstrate: https://github.com/infiniteautomation/ma-modules-public/blob/8fc371b4b52e4d9116430aa4bdc7bfc8372571d6/graaljs/src-test/com/infiniteautomation/mango/graaljs/CustomFileSystemTest.java

> Thanks for sharing your code @jazdw. The default FS (i.e., `delegate` in your tests) does not support HTTP URLs; this is intentional, because by default a Polyglot `Context` uses...

> As discussed above, the 2nd failure (Reading of URL is not allowed) is expected, because the default Truffle FS does not support HTTP URLs. This is not correct, please...

This is how loading from HTTP works with the default filesystem - https://github.com/oracle/graal/blob/fed1f661c5770c01a365d9eaf69b296bdc960759/truffle/src/com.oracle.truffle.api/src/com/oracle/truffle/api/source/Source.java#L1028

I think #257 is related to this, @eleinadani should be able to confirm. I think technically it would be possible to use a custom Truffle file system that supports the...

The `skipCloseOnExitHook` field is neither read nor written by the marshalller. There is no way to turn off the exit hook for an existing file.

Work around: ``` try { Class closeOnExitHook = Class.forName("net.openhft.chronicle.hash.impl.ChronicleHashCloseOnExitHook"); Method method = closeOnExitHook.getDeclaredMethod("remove", VanillaChronicleHash.class); method.setAccessible(true); //noinspection JavaReflectionInvocation method.invoke(null, this.database); } catch (ClassNotFoundException | NoSuchMethodException | IllegalAccessException | InvocationTargetException e) {...

Currently every `` on a dashboard does a REST request for its active events when it first initializes. This results in a flood of REST requests when viewing a watch...