mirror of
https://github.com/openRuyi-Project/gcc.git
synced 2026-06-16 00:16:04 +00:00
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:
committed by
Thomas Fitzsimmons
parent
e014df900d
commit
9ff284256a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user