[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#30050] [PATCH 0/2 core-updates] Fix antlr3 bootstrap toolchain to w
From: |
Gábor Boskovits |
Subject: |
[bug#30050] [PATCH 0/2 core-updates] Fix antlr3 bootstrap toolchain to work on java8 |
Date: |
Tue, 9 Jan 2018 21:02:30 +0100 |
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
- [bug#30050] [PATCH 0/2 core-updates] Fix antlr3 bootstrap toolchain to work on java8,
Gábor Boskovits <=