Error in getResource methods of BeanContextSupport

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.4.1
    • Affects Version/s: 1.2.0
    • Component/s: client-libs
    • hopper
    • generic
    • generic

      Name dk106046 Date: Dec-10-2001

      Suggested fix submitted from IBM. Looking to get the fix into next cycle for 1.4.
      =============================================================================

      Name: vi73552 Date: 04/29/99


      The getResourceAsStream and getResource method in
      BeanContextSupport both implement a check whether
      the BeanContextChild (bcc) making the request is contained
      in the context or not. This is done by calling the containsValue
      method of the HashMap which contains the children and
      passing bcc as the argument.
      But the HashMap only contains instances of BCSChild as
      values, so this will always fail resulting in an
      IllegalArgumentException.
      (Review ID: 57016)

            Assignee:
            Mark Davidson (Inactive)
            Reporter:
            Vassili Igouchkine (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: