Changeset: 0813fa17749b Author: Greg Lewis <gle...@eyesbeyond.com> Date: 2012-08-04 10:30 -0700 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/0813fa17749b
. Ownership of the temporary java_pid.XXXX file is checked before attachment can proceed. Since /tmp is normally a sticky directory (see sticky(8)), the group ownership of files created there don't usually match the user's group. So chown the temporary file to the user's user and group before the attachment occurs. This fixes jstack on *BSD. ! src/os/bsd/vm/attachListener_bsd.cpp