Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-7013

GroovyDoc cannot parse several .java files from java 1.7 source code

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.11, 2.3.6
    • 2.5.0-alpha-1
    • GroovyDoc
    • None

    Description

      When I use groovydoc to parse .java files from java 1.7 source code, I am facing the error.

      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']
      

      Attachments

        Activity

          People

            paulk Paul King
            thanhtt Trung-Thanh Tran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: