projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83379be
)
natRuntime.cc (_load): Include library path with exception message.
author
Bryce McKinlay
<bryce@gcc.gnu.org>
Tue, 15 Feb 2000 08:51:04 +0000
(08:51 +0000)
committer
Bryce McKinlay
<bryce@gcc.gnu.org>
Tue, 15 Feb 2000 08:51:04 +0000
(08:51 +0000)
* java/lang/natRuntime.cc (_load): Include library path with
exception message.
From-SVN: r31979
libjava/java/lang/natRuntime.cc
patch
|
blob
|
history
diff --git
a/libjava/java/lang/natRuntime.cc
b/libjava/java/lang/natRuntime.cc
index cc693858d2d4a74770f8aeef05bddd5e99a05a4b..b9b9c57365a038d49127965293323f5e0191c872 100644
(file)
--- a/
libjava/java/lang/natRuntime.cc
+++ b/
libjava/java/lang/natRuntime.cc
@@
-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);