Skip to content
Snippets Groups Projects
Commit 4c3e048b authored by Perrine Aguiar's avatar Perrine Aguiar
Browse files

Fix remapping member variable not set if argument is not null

parent 46a9300b
No related branches found
No related tags found
No related merge requests found
...@@ -53,6 +53,8 @@ public abstract class NativeNodeMain extends AbstractNodeMain { ...@@ -53,6 +53,8 @@ public abstract class NativeNodeMain extends AbstractNodeMain {
// if no remapping is needed, create an empty array // if no remapping is needed, create an empty array
if (remappings == null) { if (remappings == null) {
remappingArguments = new String[0]; remappingArguments = new String[0];
} else {
remappingArguments = remappings;
} }
log.info("Trying to load native library '" + libName + "'..."); log.info("Trying to load native library '" + libName + "'...");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment