QDox

Parser fails depending on the position of an internal enum

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.6.3
  • Fix Version/s: 1.8
  • Component/s: Parser
  • Labels:
    None
  • Number of attachments :
    1

Description

The attached Java file fails to parse, even though it compiles fine with Sun/ IBM compilers. If you move the internal enum (TestEnum), e.g. towards the bottom of the file, the class fill parse.

Activity

Hide
Paul Hammant added a comment -

any chance of a stripped down testcase we could commit? this one is pretty long and depends on multiple things not included in Qdox project

Show
Paul Hammant added a comment - any chance of a stripped down testcase we could commit? this one is pretty long and depends on multiple things not included in Qdox project
Hide
Stanislaw Osinski added a comment -

I think this might be related to QDOX-144 I've just filed – this one also contains an enum that is not at the end of the class. QDox seems to trip over an enum that is followed by some other code.

Show
Stanislaw Osinski added a comment - I think this might be related to QDOX-144 I've just filed – this one also contains an enum that is not at the end of the class. QDox seems to trip over an enum that is followed by some other code.
Hide
Robert Scholte added a comment -

the enum is missing the SEMI here as well, just like QDOX-144. So I guess with resolving the other this one can be closed.

Show
Robert Scholte added a comment - the enum is missing the SEMI here as well, just like QDOX-144. So I guess with resolving the other this one can be closed.
Hide
Paul Hammant added a comment -

As per Robert's comment

Show
Paul Hammant added a comment - As per Robert's comment

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: