Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 382412 Details for
Bug 506678
dev-java/antlr:3 fails to build with dev-java/oracle-jdk-bin:1.8
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
antlr-3.1.3-java8.patch (text/plain), 1.06 KB, created by
Austin English (RETIRED)
on 2014-08-06 22:05:13 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Austin English (RETIRED)
Created:
2014-08-06 22:05:13 UTC
Size:
1.06 KB
patch
obsolete
>--- tool/src/main/java/org/antlr/tool/CompositeGrammar.java.orig 2014-08-06 22:00:42.002467314 +0000 >+++ tool/src/main/java/org/antlr/tool/CompositeGrammar.java 2014-08-06 22:01:03.772111735 +0000 >@@ -31,7 +31,15 @@ > import org.antlr.analysis.NFAState; > import org.antlr.misc.Utils; > >-import java.util.*; >+import java.util.ArrayList; >+import java.util.HashMap; >+import java.util.HashSet; >+import java.util.Iterator; >+import java.util.LinkedHashMap; >+import java.util.List; >+import java.util.Map; >+import java.util.Set; >+import java.util.Vector; > import org.antlr.grammar.v2.AssignTokenTypesWalker; > > /** A tree of component (delegate) grammars. >@@ -219,8 +227,10 @@ > public List<Grammar> getIndirectDelegates(Grammar g) { > List<Grammar> direct = getDirectDelegates(g); > List<Grammar> delegates = getDelegates(g); >- delegates.removeAll(direct); >- return delegates; >+ if ( direct!=null ) { >+ delegates.removeAll(direct); >+ } >+ return delegates; > } > > /** Return list of delegate grammars from root down to g.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 506678
:
374174
| 382412