GCJ application runs not too bad with shared libs, but crasheswith static libs - seems to be in _Jv_MonitorEnter
Tom Tromey
tromey@redhat.com
Wed Nov 27 15:51:00 GMT 2002
>>>>> "Adam" == Adam Megacz <gcj@lists.megacz.com> writes:
Adam> 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.
Adam> Well, for now I just disabled the code that sets user.home/user.dir.
Adam> The other problem is that natRuntime::init() tries to dlopen()
Adam> itself... why does it do this? What functionality would be lost if it
Adam> didn't do this? Is there any way to detect at runtime if this binary
Adam> is a static binary (and then not try to dlopen)?
Adam> - a
Tom
More information about the Java
mailing list