From owner-freebsd-java@FreeBSD.ORG Sat Oct 29 04:28:35 2011 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2DBFB106564A for ; Sat, 29 Oct 2011 04:28:34 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id E667E8FC14 for ; Sat, 29 Oct 2011 04:28:33 +0000 (UTC) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.14.4/8.14.4) with ESMTP id p9T4SWas084525; Fri, 28 Oct 2011 21:28:32 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.14.4/8.14.4/Submit) id p9T4SWRD084524; Fri, 28 Oct 2011 21:28:32 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Fri, 28 Oct 2011 21:28:31 -0700 From: Greg Lewis To: Lev Serebryakov Message-ID: <20111029042831.GA84456@misty.eyesbeyond.com> References: <1618815663.20111025220618@serebryakov.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1618815663.20111025220618@serebryakov.spb.ru> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-java@freebsd.org Subject: Re: Update devel/jdk16 to 6u23b05 (or later)? 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: Sat, 29 Oct 2011 04:28:35 -0000 On Tue, Oct 25, 2011 at 10:06:18PM +0400, Lev Serebryakov wrote: > Is it possible? Maybe, it is WIP? Any plans for this? It's certainly possible, it just requires someone with sufficient time and motivation to do it. > If here is no any plans for this, I could try to make this upgrade > by myself (I'm familiar with JDK build process and sources > structure), but here is one big problem: BSD patch. I don't know of anyone who currently has plans to do this. > Now BSD patch is real-true-good-old patch: all files in `bsd/' > subdirs are created by it from scratches. It is almost impossible > to upgrade HotSpot (merge changes between two JDK versions into `bsd' > tree). > > I'm sure, that all files in `bsd' subdirs start their lifes as > Solaris or Linux ones, so changes could be merged more easily. Correct. > Is it possible to get this patch in form "copy files from solaris or > linux and then patch them for BSD" form? If yes, I could try to > migrate ourr patchest to latest JRL-based sources, which seems to be > > http://download.java.net/jdk6/6u23/promoted/b05/ > > (Or I could not find u29 on new site and it is exists as JRL-based sources?) You could generate the patch in that form fairly easily by doing something like the following: cd /usr/ports/java/jdk16 make patch mv work work.patched make extract Now, in the work directory run a script that does the same thing as the post-extract target from openjdk7/Makefile. Then diff -u work work.patched > patch-set -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org