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

Error in getResource methods of BeanContextSupport

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.4.1
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      hopper
    • CPU:
      generic
    • OS:
      generic

      Description

      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)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: