QDox
  1. QDox
  2. QDOX-216

QDOX uses a too old byacc-j library

    Details

    • Type: Task Task
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.11, 1.12
    • Fix Version/s: 2.0
    • Component/s: Parser
    • Labels:
      None
    • Number of attachments :
      0

      Description

      using qdox i experienced a ArrayIndexOutOfBoundsException in yyparse
      A similar fault is also described at the version history of byacc-j.

      Setting up a build environment with the new byacc-j library, building and running the same test with the new qdox.jar does not show this problem any more.

      Unfortunately i can not provide you the java code to show the problem and it would be too much effort for me to re-engineer something alike.
      But the problem should be quite obvious, because the byacc-j change history explicitly mention it.

        Activity

        Hide
        Robert Scholte added a comment -

        We should reinvestigate this when developing 2.0. We already had issues before with this library (HAUS-1817) IIRC we downloaded the sources as refered to on the mainpage and tried to compile them, without success. So we ended up in checking out code from some mysterious folder structure.
        So it's not that straight forward as you describe, sadly enough, but it's good to mention this.

        Show
        Robert Scholte added a comment - We should reinvestigate this when developing 2.0. We already had issues before with this library ( HAUS-1817 ) IIRC we downloaded the sources as refered to on the mainpage and tried to compile them, without success. So we ended up in checking out code from some mysterious folder structure. So it's not that straight forward as you describe, sadly enough, but it's good to mention this.
        Robert Scholte made changes -
        Field Original Value New Value
        Issue Type Bug [ 1 ] Task [ 3 ]
        Fix Version/s 2.0 [ 15636 ]
        Hide
        Robert Scholte added a comment -

        Fixed in rev. 788 for Solaris/Sparc, Win32, Mac OS X, and Linux/Intel. Upgraded to BYACC 1.8(/Java extension 1.15)
        I've tested the win32 library, I hope somebody can confirm one of the other versions.
        The yacc.linux.x86_64 is one we had to build from source on a 64bits linux system so the Bamboo instance of Codehaus could test QDox too, but I have to check which version is used here.

        Show
        Robert Scholte added a comment - Fixed in rev. 788 for Solaris/Sparc, Win32, Mac OS X, and Linux/Intel. Upgraded to BYACC 1.8(/Java extension 1.15) I've tested the win32 library, I hope somebody can confirm one of the other versions. The yacc.linux.x86_64 is one we had to build from source on a 64bits linux system so the Bamboo instance of Codehaus could test QDox too, but I have to check which version is used here.
        Robert Scholte made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Robert Scholte [ rfscholte ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Robert Scholte
            Reporter:
            Alfred Pfeffer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: