Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4233980

Error in getResource methods of BeanContextSupport

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.1
    • 1.2.0
    • 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)

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: