Open marinier opened 3 years ago
The library that is trying to load this resource, jtcl is using it's own ClassLoader
, TclClassLoader
and I suspect this is somehow messing up native image's ability to load this resource. I'm not sure if that makes it a native image bug or a jtcl bug, but it does work when running as a Java app.
Describe the issue I created configuration files for my application via multiple methods, one of which was using the native agent. The agent added many entries to my configuration, including this one in resource-config.json:
I am able to build the native image (working around various issues, like the one reported in #3246 -- see this commit for what I changed to get things to build). However, when I run the executable, I immediately get an exception that it is unable to find the resource I noted above.
The missing resource is actually coming from a runtime dependency (jsoar-tcl), so I wonder if that has something to do with it? (I tried changing it to a compile-time dependency, but that did not make a difference.)
Steps to reproduce the issue Please include both build steps as well as run steps
Describe GraalVM and your environment: java version "11.0.10" 2021-01-19 LTS Java(TM) SE Runtime Environment GraalVM EE 21.0.0 (build 11.0.10+8-LTS-jvmci-21.0-b06) Java HotSpot(TM) 64-Bit Server VM GraalVM EE 21.0.0 (build 11.0.10+8-LTS-jvmci-21.0-b06, mixed mode, sharing)
More details