GCJ application runs not too bad with shared libs, but crasheswith static libs - seems to be in _Jv_MonitorEnter
Adam Megacz
gcj@lists.megacz.com
Wed Nov 27 15:48:00 GMT 2002
Tom Tromey <tromey@redhat.com> writes:
> Adam> Ah, we have PAM to thank for this... is there any way to get values
> Adam> for user.name and user.home without going through getpwuid()?
> No, I don't think so.
Well, for now I just disabled the code that sets user.home/user.dir.
The other problem is that natRuntime::init() tries to dlopen()
itself... why does it do this? What functionality would be lost if it
didn't do this? Is there any way to detect at runtime if this binary
is a static binary (and then not try to dlopen)?
- a
More information about the Java
mailing list