From owner-freebsd-current Tue Sep 7 9:17:24 1999 Delivered-To: freebsd-current@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id 59EF115644 for ; Tue, 7 Sep 1999 09:17:06 -0700 (PDT) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.3/8.9.1) with ESMTP id JAA00843; Tue, 7 Sep 1999 09:16:16 -0700 (PDT) (envelope-from jdp@polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.9.3/8.9.1) id JAA21758; Tue, 7 Sep 1999 09:16:16 -0700 (PDT) (envelope-from jdp@polstra.com) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <199909071552.JAA21689@mt.sri.com> Date: Tue, 07 Sep 1999 09:16:16 -0700 (PDT) Organization: Polstra & Co., Inc. From: John Polstra To: Nate Williams Subject: RE: java too? (was Re: Perl still broken in 4.0-CURRENT) Cc: current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Nate Williams wrote: > > This is necessary because the JDK has no way of knowing if dladdr() and > other misc. functions exist at runtime, because it must run on *all* > versions of FreeBSD, and older versions of 3.* didn't have these > functions. > > We can't maintain backward compatability 'cleanly' w/out knowing the > internals unfortunately. That is, unless John can come up with a way > that we're not aware of. :) :) :) :) I've been thinking about this. I think I know a good way to find out at runtime whether dladdr is implemented, and also a safer way to roll your own version of dladdr to use when necessary. I have to do some Real Work at the moment, but I'll follow up with more details soon. (In other words: I have devised a clever and elegant proof of this theorem. Unfortunately there is not room in the margin to write it down ... ;-) John --- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "No matter how cynical I get, I just can't keep up." -- Nora Ephron To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message