Uploaded image for project: 'Commons Digester'
  1. Commons Digester
  2. DIGESTER-18

[digester] ExtendedBaseRules test fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5
    • None
    • None
    • Operating System: other
      Platform: All

    • 28486

    Description

      When using the JDK1.2, "ant test.matching.extended" reports a failure in method
      "testAncesterMatch".

      I have added logging to the ExtendedBaseRules class, and the problem appears not
      be with jdk1.2, but rather with the order objects are returned from the HashMap
      rule cache. It seems that iterating over the entryset of elements in the cache
      returns the elements in different order in the two JVMs, and somehow this seems
      to break ExtendedBaseRules. It shouldn't, of course.

      I'll continue to look into it, but would appreciate some help from those who are
      familiar with this class, as the matching rules are very complex.

      Attachments

        Activity

          People

            Unassigned Unassigned
            simon@ecnetwork.co.nz Simon Kitching
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: