groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul King (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (GROOVY-7013) GroovyDoc cannot parse several .java files from java 1.7 source code
Date Tue, 02 May 2017 02:04:15 GMT

     [ https://issues.apache.org/jira/browse/GROOVY-7013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Paul King closed GROOVY-7013.
-----------------------------

> GroovyDoc cannot parse several .java files from java 1.7 source code
> --------------------------------------------------------------------
>
>                 Key: GROOVY-7013
>                 URL: https://issues.apache.org/jira/browse/GROOVY-7013
>             Project: Groovy
>          Issue Type: Bug
>          Components: GroovyDoc
>    Affects Versions: 1.7.11, 2.3.6
>            Reporter: Trung-Thanh Tran
>            Assignee: Paul King
>             Fix For: 2.5.0-alpha-1
>
>         Attachments: groovy7013_multicatch_java_grammar.patch
>
>
> When I use groovydoc to parse .java files from java [1.7 source code|http://sourceforge.net/projects/jdk7src/],
I am facing the error.
> {noformat}
> line 624:43: expecting IDENT, found '|'
> ignored due to RecognitionException: ManagementFactory.java [expecting EOF, found '}']
> ...
> line 306:40: unexpected token: >
> ignored due to RecognitionException: PlatformComponent.java [expecting EOF, found 'for']
> line 1498:33: expecting LCURLY, found '('
> ignored due to RecognitionException: MethodHandleImpl.java [expecting EOF, found 'if']
> line 87:32: unexpected token: >
> ignored due to RecognitionException: ReflectAccess.java [expecting EOF, found '}']
> line 241:27: unexpected token: >
> line 244:20: unexpected token: Object
> line 247:20: unexpected token: long
> line 248:20: unexpected token: Object
> line 251:20: unexpected token: Map
> line 258:15: unexpected token: InvocationHandler
> line 263:13: unexpected token: Proxy
> line 273:15: unexpected token: Proxy
> ignored due to RecognitionException: Proxy.java [expecting EOF, found 'this']
> line 158:46: unexpected token: >
> ignored due to RecognitionException: Constructor.java [expecting EOF, found 'res']
> line 2312:52: unexpected token: >
> ignored due to RecognitionException: String.java [expecting EOF, found 'while']
> line 327:55: unexpected token: >
> ignored due to RecognitionException: ClassValue.java [expecting EOF, found 'Version']
> line 266:57: unexpected token: >
> line 272:19: unexpected token: ProtectionDomain
> line 278:19: unexpected token: Set
> ignored due to RecognitionException: ClassLoader.java [expecting EOF, found 'void']
> line 73:38: unexpected token: >
> ignored due to RecognitionException: ProcessEnvironment.java [expecting EOF, found 'for']
> line 79:48: unexpected token: ffffeP
> line 90:25: unexpected token: float
> line 99:25: unexpected token: float
> line 109:25: unexpected token: int
> line 118:25: unexpected token: int
> line 125:25: unexpected token: int
> line 133:25: unexpected token: Class
> line 201:19: unexpected token: String
> ignored due to RecognitionException: Float.java [expecting EOF, found '}']
> line 1632:19: expecting SEMI, found ','
> ignored due to RecognitionException: Thread.java [expecting EOF, found 'for']
> line 1381:32: unexpected token: ?
> ignored due to RecognitionException: Class.java [expecting EOF, found 'Class']
> line 939:44: unexpected token: >
> ignored due to RecognitionException: Throwable.java [expecting EOF, found 'for']
> line 56:25: unexpected token: >
> line 57:26: unexpected token: ThreadLocal
> line 60:20: unexpected token: boolean
> line 62:20: unexpected token: <
> ignored due to RecognitionException: StringCoding.java [expecting EOF, found 'if']
> ignored due to TokenStreamException: Character.java [unexpected char: 0x0]
> line 85:44: unexpected token: >
> ignored due to RecognitionException: CharacterName.java [expecting EOF, found '}']
> line 584:13: expecting LCURLY, found '('
> ignored due to RecognitionException: Package.java [expecting EOF, found 'JarInputStream']
> line 50:41: unexpected token: >
> ignored due to RecognitionException: ApplicationShutdownHooks.java [expecting EOF, found
'}']
> line 218:38: unexpected token: >
> ignored due to RecognitionException: ProcessBuilder.java [expecting EOF, found 'for']
> line 79:49: unexpected token: ffffffffffffP
> line 90:25: unexpected token: double
> line 100:25: unexpected token: double
> line 110:25: unexpected token: int
> line 119:25: unexpected token: int
> line 126:25: unexpected token: int
> line 134:25: unexpected token: Class
> line 198:19: unexpected token: String
> ignored due to RecognitionException: Double.java [expecting EOF, found '}']
> line 670:23: unexpected token: ffffep
> ignored due to RecognitionException: Math.java [expecting EOF, found 'else']
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message