From owner-freebsd-java@freebsd.org Sun Jan 31 11:00:25 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C73DDA74B2D for ; Sun, 31 Jan 2016 11:00:25 +0000 (UTC) (envelope-from magnus.ihse.bursie@oracle.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id AFD661190 for ; Sun, 31 Jan 2016 11:00:25 +0000 (UTC) (envelope-from magnus.ihse.bursie@oracle.com) Received: by mailman.ysv.freebsd.org (Postfix) id AD470A74B2C; Sun, 31 Jan 2016 11:00:25 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 94652A74B2A for ; Sun, 31 Jan 2016 11:00:25 +0000 (UTC) (envelope-from magnus.ihse.bursie@oracle.com) Received: from aserp1040.oracle.com (aserp1040.oracle.com [141.146.126.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "aserp1040.oracle.com", Issuer "Oracle SSL CA - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 68C28118F for ; Sun, 31 Jan 2016 11:00:25 +0000 (UTC) (envelope-from magnus.ihse.bursie@oracle.com) Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u0VB0OwW009474 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 31 Jan 2016 11:00:24 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0022.oracle.com (8.13.8/8.13.8) with ESMTP id u0VB0Mp3007368 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Sun, 31 Jan 2016 11:00:24 GMT Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by userv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u0VB0MCG019463 for ; Sun, 31 Jan 2016 11:00:22 GMT Received: from [10.175.186.216] (/10.175.186.216) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 31 Jan 2016 03:00:22 -0800 Subject: Re: Helping out with JDK 9 on BSD To: java@freebsd.org References: <56ADE7D4.8020107@oracle.com> From: Magnus Ihse Bursie Message-ID: <56ADE943.6020103@oracle.com> Date: Sun, 31 Jan 2016 12:00:19 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <56ADE7D4.8020107@oracle.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: aserv0022.oracle.com [141.146.126.234] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Jan 2016 11:00:25 -0000 On 2016-01-31 11:54, Magnus Ihse Bursie wrote: > Hi, > > [TL;DR: I'm offering patches to compile JDK 9 on FreeBSD, but it's not > clear where to put them, or how.] > > I'm working at Oracle on the OpenJDK build team and is responsible for > large parts of the build system of OpenJDK. Lately, I've been playing > around with FreeBSD (and other BSDs) in my free time, and I've written > a patch that will add build system support for FreeBSD, OpenBSD and > NetBSD in JDK 9 (tracked in > https://bugs.openjdk.java.net/browse/JDK-8147795). > > I started writing this when I realized that the jdk9 branch in the > OpenJDK bsd-port repository did not contain any BSD-specific changes > at all, and the old JDK 8 changes will not readily be portable, due to > major changes in the build system between JDK 8 and JDK 9. > > I thought it would be a no-brainer to integrate these changes into the > JDK 9 mainline, so they would be in place for whenever you guys would > start to attack porting the code base. However, some of my collegues > thought otherwise. The end result, I think, is that they wanted to see > someone (not necessarily a company, the FreeBSD organisation for > instance seemed to be okay), to step forward and say "we take > responsibility for the BSD port", and give some kind of commitment to > actually use these build changes in producing a viable port. You can > read the mail conversation here: > http://mail.openjdk.java.net/pipermail/build-dev/2016-January/016421.html I forgot to add that I'm willing to help with build issues for the BSD port, as far as my (like everybode else's) limited free time allows me. Unfortunately, I'm still a noob at BSD internals and can't really help with much apart from that. /Magnus > > An alternative to pushing this code into the JDK 9 mainline is of > course to push it to the bsd-port/jdk9 repo (given that the owners of > that repo approves), but that seems like a less favourable solution. > Having the code in the mainline does not mean that it gets tested > automatically, but it means that it will be part of e.g. refactoring, > that would otherwise break a downstream patchset. > > I cc:ed this conversation to the bsd-port-dev@openjdk.java.net mailing > list, but never got any kind of official response there. Since this > list seems more active, I'm trying here instead. :) > > So, I'm offering two patches here, one that applies to the build > system, is nice and clean, and possible to integrate into JDK 9 > mainline, if my collegues are convinced that someone is backing up the > BSD port. And there's a second patch, which fixes broken C/C++/Java > code and results in a product that can at least run "javac > HelloWorld", but this is not yet clean enough for integration anywere, > at least not the JDK 9 mainline. (I don't know enough of the BSD > internals to fix all problems, so there's some "#if 0" code here and > there.) > > /Magnus > > _______________________________________________ > freebsd-java@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"