re PR libgcj/23761 (java.library.path doesn't affect module loading path)
2005-09-08 Thomas Fitzsimmons <fitzsim@redhat.com> PR libgcj/23761 * include/java-props.h (_Jv_Module_Load_Path): Declare variable. * java/lang/natRuntime.cc (init): Call lt_dlsetsearchpath after lt_dlinit. * gnu/classpath/natSystemProperties.cc (_Jv_Module_Load_Path): Define variable. (_Jv_SetDLLSearchPath): Do not call lt_dlsetsearchpath. Set _Jv_Module_Load_Path. From-SVN: r104044
This commit is contained in:
parent
e014df900d
commit
9ff284256a
4 changed files with 19 additions and 1 deletions
|
@ -242,6 +242,8 @@ java::lang::Runtime::init (void)
|
|||
{
|
||||
#ifdef USE_LTDL
|
||||
lt_dlinit ();
|
||||
// Set module load path.
|
||||
lt_dlsetsearchpath (_Jv_Module_Load_Path);
|
||||
// Make sure self is opened.
|
||||
lt_dlopen (NULL);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue