Hello! Is there a way to load resource file that stored in jar file without resort to RequiresFullAccess annotation? When I'm using getResourceAsStream:
InputStream is = getClass().getResourceAsStream("/resource.dat");
I tried to launch my plugin from %USERPROFILE%\Documents\JForex\Plugins\ and %USERPROFILE%\Documents\JForex\Strategies\files\ (IPluginContext.getFilesDir()) folders but there is always this error.
tcsabina
Post subject: Re: How to load resource from plugin (.jar or .jfx) without RequiresFullAccess?
We made some investigations. Right now @RequiresFullAccess is the only option. Although it seems naturally that plugin should be able to read resources from it's own jar, we are not sure that adding required permission won't produce any security holes. We will investigate this problem more carefully and if we won't find any security problems we will add that ability in future releases.
DarkJudge
Post subject: Re: How to load resource from plugin (.jar or .jfx) without RequiresFullAccess?