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 /etc/snippets?id=04020a73b3dea169f806d4f0d04cd2505d50efa1'>treecommitdiff
AgeCommit message (Collapse)Author
2019-05-09Add (guix bzr-download).Maxim Cournoyer
* guix/bzr-download.scm, guix/build/bzr.scm, etc/snippets/scheme-mode/guix-bzr-reference: New files. * Makefile.am (MODULES): Add them. * etc/snippets/scheme-mode/guix-origin: Add "bzr-fetch" to the origin choices.
2019-03-26etc: Add "rename" snippet.Pierre Neidhardt
* etc/snippets/text-mode/guix-commit-message-rename-package: New file.
2019-03-08etc: snippets: Prefill package name.Ricardo Wurmus
* etc/snippets/text-mode/guix-commit-message-add-package: Extract package name from diff.
2019-03-07etc: snippets: Prefill package name and version.Ricardo Wurmus
* etc/snippets/text-mode/guix-commit-message-update-package: Extract package name and version from git diff output.
2018-10-10etc: Use git-file-name if origin is git-fetch.Pierre Neidhardt
* etc/snippets/scheme-mode/guix-origin: Use git-file-name.
2018-07-13etc: snippets: Add guix-commit-message-use-https-home-page.Arun Isaac
* etc/snippets/text-mode/guix-commit-message-use-https-home-page: New file. * doc/contributing.texi (The Perfect Setup): Document new snippet.
2018-07-13etc: snippets: Add new build systems to package snippet.Arun Isaac
* etc/snippets/scheme-mode/guix-package: Add android-ndk-build-system and scons-build-system as possibilities for the build-system field.