[Sablevm-bugs] [ sablevm-Bugs-640976 ] Better error from Runtime.nativeLoad()
Brought to you by:
egagnon
From: <no...@so...> - 2002-11-20 13:43:44
|
Bugs item #640976, was opened at 2002-11-19 18: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: Closed >Resolution: Fixed Priority: 5 Submitted By: Archie Cobbs (archiecobbs) >Assigned to: Etienne M. Gagnon (egagnon) 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. ---------------------------------------------------------------------- >Comment By: Etienne M. Gagnon (egagnon) Date: 2002-11-20 08:43 Message: Logged In: YES user_id=15365 Archie, The patch has been applied into the CVS repository. Thanks a lot for the patch! Etienne ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105523&aid=640976&group_id=5523 |