jdk15 buildlog on -current

Greg Lewis glewis at eyesbeyond.com
Sun Jun 10 03:14:47 UTC 2007


On Fri, Jun 08, 2007 at 07:00:28PM +0000, Poul-Henning Kamp wrote:
> Still no jdk15 luck on -current:
> 
> 	http://phk.freebsd.dk/misc/_.java_jdk15.gz

So everyone who is seeing a failure is seeing one like this.  That is, the
new compiler can't compile Java code which it should be able to.  However,
all the failures are different and all the failures are indicative of a
file not being able to be read or the like.

Jung-uk Kim suggested trying this script on the filesystem being used.
Maybe it will be able to demonstrate a reproducible a problem with file
access.

It really seems like the JDK build is tickling a problem in -CURRENT rather
than anything else.

#!/bin/sh
TCOUNT=0
TMPFILE=`mktemp ./test-fs.XXXXXX`
if [ $? -ne 0 ]; then
	echo "Test file cannot be created. Exiting." >&2
	exit 1
fi

sighandler() {
	rm -f ${TMPFILE}
	echo
	echo "Test interrupted after ${TCOUNT} runs."
	echo "No problem encountered."
	exit 0
}

echo "Starting open(2)/unlink(2) test."
echo -n "Press ^C to stop the test. "
trap sighandler int
while true; do
	TCOUNT=$(( ${TCOUNT} + 1 ))
	touch ${TMPFILE}
	if [ ! -f ${TMPFILE} ]; then
		echo "Test file does not exist. This is wrong!" >&2
		exit 1
	fi
	rm -f ${TMPFILE}
	if [ -f ${TMPFILE} ]; then
		echo "Test file should not exist. This is wrong!" >&2
		exit 1
	fi
done

-- 
Greg Lewis                          Email   : glewis at eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis at FreeBSD.org


More information about the freebsd-java mailing list