From owner-freebsd-java@FreeBSD.ORG Fri May 5 14:57:25 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E9C816A401 for ; Fri, 5 May 2006 14:57:25 +0000 (UTC) (envelope-from lists@intricatesoftware.com) Received: from mta3.srv.hcvlny.cv.net (mta3.srv.hcvlny.cv.net [167.206.4.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id D391243D45 for ; Fri, 5 May 2006 14:57:24 +0000 (GMT) (envelope-from lists@intricatesoftware.com) Received: from [172.16.1.72] (ool-457a77e8.dyn.optonline.net [69.122.119.232]) by mta3.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005)) with ESMTP id <0IYS00IOQS7ETHL6@mta3.srv.hcvlny.cv.net> for freebsd-java@freebsd.org; Fri, 05 May 2006 10:57:15 -0400 (EDT) Date: Fri, 05 May 2006 10:57:13 -0400 From: Kurt Miller In-reply-to: To: freebsd-java@freebsd.org Message-id: <200605051057.13990.lists@intricatesoftware.com> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-6 Content-transfer-encoding: 7BIT Content-disposition: inline References: User-Agent: KMail/1.9.1 Subject: Re: jdk15 from update5 sources X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kurt@intricatesoftware.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 May 2006 14:57:25 -0000 On Thursday 04 May 2006 8:52 am, Arne H. Juul wrote: > For those of us who can't use the diablo binary release for one reason or > the other, it's a problem that the BSD patches from eyesbeyond.com use the > SCSL sources, since there are many problems in those that are fixed in the > various update 1 to 6 releases. > > Sun has released sources on tiger.dev.java.net for update 3, 4, and 5 (but > not update 6, at least not yet). These are under the JIUL license which > seems to be more permissive than SCSL (too much legalese for me to say for > sure). > > So I've downloaded the update 5 sources and applied the > bsd-jdk15-patches-3.tar.bz2 (with some rejects). Then I've fixed the > issues with rejected patches and done some changes based on the changes > between SCSL sources and update 5 sources (see attached patch). > > The result works pretty well for me when compiled on FreeBSD 4.x for > running standalone java applications; I have no idea if it works for > webstart, or browser plugins, or as a basis for java frameworks. But maybe > somebody else may find it useful to go this route; I still get the > occasional crash deep inside the garbage collection parts of the VM but at > least this is much more stable than the version I get from compiling > ports/jdk the usual way. Wow, I wasn't aware that Sun started releasing source updates for 1.5. Very cool. :-) I noticed your patch didn't include any changes to the bsd directories in the port. There are a bunch of directories that have bsd in their name. These dirs started out as copies of the corresponding solaris ones. Your patch has the shared dirs at update 5 level but the bsd dirs are at initial release still. To bring the jdk15 port fully up to update 5 level you will need to do a diff on the solaris changes since the initial release and then apply them to the bsd versions. A 'find . -name *bsd* -type d' should find the top level bsd dirs you need to look at. -Kurt