From owner-freebsd-java@FreeBSD.ORG Wed Dec 13 01:59:49 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5B5D116A500 for ; Wed, 13 Dec 2006 01:59:49 +0000 (UTC) (envelope-from arnej@pvv.ntnu.no) Received: from decibel.pvv.ntnu.no (decibel.pvv.ntnu.no [129.241.210.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9C6F43CA8 for ; Wed, 13 Dec 2006 01:58:22 +0000 (GMT) (envelope-from arnej@pvv.ntnu.no) Received: from arnej by decibel.pvv.ntnu.no with local (Exim 4.60) (envelope-from ) id 1GuJPM-00066D-Ip; Wed, 13 Dec 2006 02:59:45 +0100 Date: Wed, 13 Dec 2006 02:59:44 +0100 (CET) From: "Arne H. Juul" To: Greg Lewis In-Reply-To: <20061212191710.GA483@misty.eyesbeyond.com> Message-ID: References: <20061212191710.GA483@misty.eyesbeyond.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-java@freebsd.org Subject: Re: close() of active socket does not work on FreeBSD 6 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Dec 2006 01:59:49 -0000 On Tue, 12 Dec 2006, Greg Lewis wrote: > This is, unfortunately, a known problem. See > > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/97921 Yeah, I got redirected there by somebody else too; it seems I've managed to spark lots of debate now at least. Copying linux_close.c and thereby working around the problem in the Java VM looks like it solves my immediate problem, and could probably be integrated into the diablo jdk too? I've tried the C version of the test program and it behaves "badly" on Linux, FreeBSD 6, and NetBSD at least, so patching over it is probably the best medium-term solution. - Arne H. J.