Commit 1733ad7f by Bryce McKinlay

natRuntime.cc (_load): Include library path with exception message.

        * java/lang/natRuntime.cc (_load): Include library path with
        exception message.

From-SVN: r31979
parent 83379bef
......@@ -125,7 +125,9 @@ java::lang::Runtime::_load (jstring path, jboolean do_search)
if (h == NULL)
{
const char *msg = lt_dlerror ();
_Jv_Throw (new UnsatisfiedLinkError (JvNewStringLatin1 (msg)));
jstring str = path->concat (JvNewStringLatin1 (": "));
str = str->concat (JvNewStringLatin1 (msg));
_Jv_Throw (new UnsatisfiedLinkError (str));
}
add_library (h);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment