From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?G=C3=A1bor_Boskovits?= Subject: Re: java: switch to icedtea-8 as default JDK Date: Sun, 17 Dec 2017 19:59:10 +0100 Message-ID: References: <20171204191506.GC28066@jasmine.lan> <87609h3dzk.fsf@gmail.com> <87o9n3gz43.fsf@gmail.com> <20171213103248.GA12880@macbook41> <877etlo2fq.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a113949f042ae0e05608dd4ee" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41194) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQe9Z-00080P-Gb for guix-devel@gnu.org; Sun, 17 Dec 2017 13:59:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eQe9Y-0005d8-Bz for guix-devel@gnu.org; Sun, 17 Dec 2017 13:59:13 -0500 Received: from mail-io0-x236.google.com ([2607:f8b0:4001:c06::236]:44258) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eQe9Y-0005cb-63 for guix-devel@gnu.org; Sun, 17 Dec 2017 13:59:12 -0500 Received: by mail-io0-x236.google.com with SMTP id w127so7583893iow.11 for ; Sun, 17 Dec 2017 10:59:12 -0800 (PST) In-Reply-To: <877etlo2fq.fsf@elephly.net> 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: Ricardo Wurmus Cc: guix-devel --001a113949f042ae0e05608dd4ee Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Yes, we could do that, however, I would prefer to fix these if we can. 2017-12-17 15:26 GMT+01:00 Ricardo Wurmus : > > 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 > > > --001a113949f042ae0e05608dd4ee Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Yes, we could do that, however, I would prefer to fix thes= e if we can.


2017-12-17 15:26 GMT+01:00 Ricardo Wurmus <rekado@elephl= y.net>:
G=C3=A1bor Boskovits <boskovits@g= mail.com> 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.=C2=A0 For those packages we might ha= ve
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.=C2=A0 This might be
helpful in situations like this.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6=C2=A0 2150 197A 5888 235F ACAC
https:= //elephly.net



--001a113949f042ae0e05608dd4ee--