QDox
  1. QDox
  2. QDOX-92

Performance Improvement of JavaDocBuilder.getClassByName()

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      getClassByName does not make any use of the JavaClassCache after loading binary classes:

      Index: src/java/com/thoughtworks/qdox/JavaDocBuilder.java
      ===================================================================
      RCS file: /home/projects/qdox/scm/qdox/src/java/com/thoughtworks/qdox/JavaDocBuilder.java,v
      retrieving revision 1.31
      diff -u -r1.31 JavaDocBuilder.java
      — src/java/com/thoughtworks/qdox/JavaDocBuilder.java 7 Jan 2005 11:26:09 -0000 1.31
      +++ src/java/com/thoughtworks/qdox/JavaDocBuilder.java 18 Oct 2005 20:21:22 -0000
      @@ -122,6 +122,7 @@
      } else

      { result = createUnknownClass(name); }

      + classes.put(name, result);
      }
      return result;
      }

        Activity

        Hide
        Mauro Talevi added a comment -

        Changed fix version to 1.7

        Show
        Mauro Talevi added a comment - Changed fix version to 1.7
        Mauro Talevi made changes -
        Field Original Value New Value
        Fix Version/s 1.7 [ 11160 ]
        Fix Version/s 1.6 [ 10814 ]
        Hide
        Paul Hammant added a comment -

        can you supply a unit test Wolfgang ?

        Show
        Paul Hammant added a comment - can you supply a unit test Wolfgang ?
        Paul Hammant made changes -
        Fix Version/s 1.7 [ 11160 ]
        Fix Version/s 1.8 [ 14826 ]
        Hide
        Mauro Talevi added a comment -

        Applied fix - thanks.

        Show
        Mauro Talevi added a comment - Applied fix - thanks.
        Mauro Talevi made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Closed [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Wolfgang Jung
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: