jbang icon indicating copy to clipboard operation
jbang copied to clipboard

allow remote file argument for compiler directives

Open maxandersen opened this issue 1 year ago • 2 comments

in https://github.com/tjake/Jlama/pull/54#pullrequestreview-2309627261 there is a usecase to be able to specify filename to compiler directives.

i.e. -XX:CompilerDirectivesFile=%{https://raw.githubusercontent.com/tjake/Jlama/main/inlinerules.json}% but seems like we only do remote file arguments for arguments to script and explicitly javaagents argument - and only for the run/jar command; not the build.

Here we would need to do it for compiler flags.

maxandersen avatar Sep 17 '24 21:09 maxandersen

@quintesse wdyt - should we just add handlefileargument to all the things or only do this explicit one flag as done with agents?

maxandersen avatar Sep 18 '24 06:09 maxandersen

Not sure to be honest 😅

quintesse avatar Sep 18 '24 15:09 quintesse