From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54972) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZ07y-0006or-6v for guix-patches@gnu.org; Tue, 09 Jan 2018 15:04:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eZ07v-0007bV-Hh for guix-patches@gnu.org; Tue, 09 Jan 2018 15:04:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:42041) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eZ07v-0007bM-Ew for guix-patches@gnu.org; Tue, 09 Jan 2018 15:04:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eZ07v-00080o-77 for guix-patches@gnu.org; Tue, 09 Jan 2018 15:04:03 -0500 Subject: [bug#30050] [PATCH 0/2 core-updates] Fix antlr3 bootstrap toolchain to work on java8 Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54760) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZ07g-0006ku-So for guix-patches@gnu.org; Tue, 09 Jan 2018 15:03:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eZ07d-0007Ij-Bo for guix-patches@gnu.org; Tue, 09 Jan 2018 15:03:48 -0500 Received: from mail-wr0-x22c.google.com ([2a00:1450:400c:c0c::22c]:46917) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eZ07d-0007Hq-4L for guix-patches@gnu.org; Tue, 09 Jan 2018 15:03:45 -0500 Received: by mail-wr0-x22c.google.com with SMTP id g21so9538367wrb.13 for ; Tue, 09 Jan 2018 12:03:44 -0800 (PST) From: =?UTF-8?Q?G=C3=A1bor?= Boskovits Date: Tue, 9 Jan 2018 21:02:30 +0100 Message-Id: <20180109200230.5043-1-boskovits@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 30050@debbugs.gnu.org Cc: =?UTF-8?Q?G=C3=A1bor?= Boskovits This patch series includes the fixes needed to bootstrap antlr3 for java8. The toolchain includes two older versions of antlr3, which does not compile on java8, because in java7 it was legal to pass null to removeAll, but this is no longer so. Original behaviour was not to modify the object when null is passed. java8 throws null pointer exception. Fix is simply to wrap the call in a null check for the argument. This is backwards compatible. Gábor Boskovits (2): gnu: antlr3-3.1: Fix java8 issue. gnu: antlr3-3.3: Fix java8 issue. gnu/local.mk | 4 ++- gnu/packages/java.scm | 9 ++++-- .../patches/antlr3-3_1-fix-java8-compilation.patch | 35 ++++++++++++++++++++++ .../patches/antlr3-3_3-fix-java8-compilation.patch | 35 ++++++++++++++++++++++ 4 files changed, 80 insertions(+), 3 deletions(-) create mode 100644 gnu/packages/patches/antlr3-3_1-fix-java8-compilation.patch create mode 100644 gnu/packages/patches/antlr3-3_3-fix-java8-compilation.patch -- 2.15.1