QDox
  1. QDox
  2. QDOX-33

JavaClass.getTagsByName() is buggy.

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.4
    • Component/s: Java API
    • Labels:
      None
    • Environment:
      any
    • Number of attachments :
      0

      Description

      Line 481 in JavaClass.java shall be:
      --%<------ addTagsRecursive(result,implementz[h],name,superclasses);
      -%<-------

      instead of:
      --%<------ addTagsRecursive(result,superclass,name,superclasses);
      -%<-------

        Activity

        Hide
        Mike Williams added a comment -

        Konstantin, any chance you can provide a test-case to demonstrate the bug?

        Show
        Mike Williams added a comment - Konstantin, any chance you can provide a test-case to demonstrate the bug?
        Hide
        Konstantin Pribluda added a comment -

        Well, for this one you do not need testcase.
        You like to look into interfaces, but look into superclass.

        However, the bug is there, and seems to be worse.

        It goes to infibite loop when I look into my hibernate
        classes.

        Show
        Konstantin Pribluda added a comment - Well, for this one you do not need testcase. You like to look into interfaces, but look into superclass. However, the bug is there, and seems to be worse. It goes to infibite loop when I look into my hibernate classes.
        Hide
        Aslak Hellesøy added a comment -

        good catch.

        Show
        Aslak Hellesøy added a comment - good catch.
        Aslak Hellesøy made changes -
        Field Original Value New Value
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Fix Version/s 1.4 [ 10304 ]
        Aslak Hellesøy made changes -
        Assignee Aslak Hellesoy [ rinkrank ]

          People

          • Assignee:
            Aslak Hellesøy
            Reporter:
            Konstantin Pribluda
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 5 minutes
              5m
              Remaining:
              Remaining Estimate - 5 minutes
              5m
              Logged:
              Time Spent - Not Specified
              Not Specified