java.library.path fix for MacOS X (7145798)

Florian Weimer fweimer at bfk.de
Fri Feb 24 01:32:06 PST 2012


* Daniel D. Daugherty:

> In the MacOS X port project, the relevant code was copied from
> Linux so "." is not present in java.library.path. This should
> be changed to make the OpenJDK7 version on MacOS X behave
> similar to the Apple version of Java6.

Do Mac OS Finder (or what it's called) or Safari change to the directory
of a document before opening it with a registered application?  If yes,
you really don't want to have the current directory in the search path
for DSOs because it may enable loading of untrusted DSOs.

-- 
Florian Weimer                <fweimer at bfk.de>
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstraße 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99


More information about the hotspot-runtime-dev mailing list