[Sablevm-bugs] [ sablevm-Bugs-640976 ] Better error from Runtime.nativeLoad()
Brought to you by:
egagnon
From: <no...@so...> - 2002-11-19 23:23:00
|
Bugs item #640976, was opened at 2002-11-19 15:22 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105523&aid=640976&group_id=5523 Category: Execution Problem Group: SableVM Status: Open Resolution: None Priority: 5 Submitted By: Archie Cobbs (archiecobbs) Assigned to: Nobody/Anonymous (nobody) Summary: Better error from Runtime.nativeLoad() Initial Comment: Here's a patch to fix a problem with Runtime.nativeLoad(). The problem is that if the dlopen() operation fails, the error message is lost. This caused me a lot of head scratching the other day trying to figure out why something wasn't working. With this patch the underlying error message (from lt_dlerror()) will appear in the Exception message string. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105523&aid=640976&group_id=5523 |