From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: java: switch to icedtea-8 as default JDK Date: Sun, 17 Dec 2017 15:26:49 +0100 Message-ID: <877etlo2fq.fsf@elephly.net> References: <20171204191506.GC28066@jasmine.lan> <87609h3dzk.fsf@gmail.com> <87o9n3gz43.fsf@gmail.com> <20171213103248.GA12880@macbook41> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49490) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQZuN-0006Vb-OW for guix-devel@gnu.org; Sun, 17 Dec 2017 09:27:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eQZuB-0002e8-Kc for guix-devel@gnu.org; Sun, 17 Dec 2017 09:27:08 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21052) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eQZuB-0002aa-AC for guix-devel@gnu.org; Sun, 17 Dec 2017 09:27:03 -0500 In-reply-to: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: =?utf-8?Q?G=C3=A1bor?= Boskovits Cc: guix-devel G=C3=A1bor Boskovits writes: > Currently I cannot compile java-aqute-bndlib, > because java-classpathx-servletapi-3.0 does not work with java8. > This is a known incompatibility between java7 and java8 definition of Map= , > affecting multiple projects. > I will focus on fixing that for now, and file a bug upstream. If a package does not build with Java 8 this does not mean that we cannot use the latest JDK to build it. For those packages we might have to patch the build.xml to ensure that the JDK considers the source to be of a different version. javac supports the =E2=80=9C-target=E2=80=9D and =E2=80=9C-source=E2=80=9D = options. This might be helpful in situations like this. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net