Skip to content

Commit

Permalink
update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-hunhoff committed Feb 2, 2024
1 parent 0205785 commit bb9ecb5
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,12 @@ private void configureJepMainInterpreter() throws JepException, FileNotFoundExce
}
}

/*
* This is hacky but we do not have a way to force Jep to use the Jep native
* that we have resolved without calling jep.MainInterpreter.setJepLibraryPath.
* This results in System.load(<jep_native>) twice which, according to the Java
* documentation is ok as the second load attempt is ignored.
*/
MainInterpreter.setJepLibraryPath(this.jepNativeFile.getAbsolutePath());

// delay site module import
Expand Down

0 comments on commit bb9ecb5

Please sign in to comment.