Based on the upstream fix for the java8 compilation issue. Simplified patch. Upstream version of patch does not work with this source tree. The issue is that in java8 it is an error to pass null to removeAll. Results in null pointer exception. java7 behaviour was to return the list unmodified. From 43867d50c05d1c06ab7220eb974a8874ae10c308 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Boskovits?= Date: Fri, 5 Jan 2018 19:08:24 +0100 Subject: [PATCH] Fix java8 complilation error. --- tool/src/main/java/org/antlr/tool/CompositeGrammar.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tool/src/main/java/org/antlr/tool/CompositeGrammar.java b/tool/src/main/java/org/antlr/tool/CompositeGrammar.java index f34ea73..63740a6 100644 --- a/tool/src/main/java/org/antlr/tool/CompositeGrammar.java +++ b/tool/src/main/java/org/antlr/tool/CompositeGrammar.java @@ -226,7 +226,9 @@ public class CompositeGrammar { public List getIndirectDelegates(Grammar g) { List direct = getDirectDelegates(g); List delegates = getDelegates(g); - delegates.removeAll(direct); + if(direct != null) { + delegates.removeAll(direct); + } return delegates; } -- 2.15.1 bunistring.scm?id=3f3c986001dcfd21c50c9e2c2118316bc7ab9f8d'>treecommitdiff
AgeCommit message (Expand)Author
2023-07-20Revert "gnu: libunistring: Fix make check for the Hurd."...This reverts commit 12e6a5923812abf180f03bea9e07dd99244a3fcd, which used XFAIL_TESTS to have 'make check' pass with failing tests "test-perror2" "test-strerror_r" that now pass with glibc-2.37 and libc-for-target in commencement. Janneke Nieuwenhuizen
2023-05-31gnu: libunistring: Fix make check for the Hurd....* gnu/packages/libunistring.scm (libunistring)[arguments]: Set XFAIL_TESTS with test-perror2, and test-strerror_r when building to the Hurd. Janneke Nieuwenhuizen
2022-05-28gnu: libunistring: Rewrite using gexps....* gnu/packages/libunistring.scm (libunistring)[arguments]: Rewrite using gexps. Remove trailing #t. Efraim Flashner
2022-05-28gnu: libunistring: Update to 1.0....* gnu/packages/libunistring.scm (libunistring): Update to 1.0. [license]: Update in accordance with upstream. Efraim Flashner