QDox

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 Hellesoy added a comment -

good catch.

Show
Aslak Hellesoy added a comment - good catch.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved:

Time Tracking

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