Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-1371

Automatic parent class loader delegation does not correctly filter calls to Bundle.loadClass()

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • framework-1.8.1
    • framework-2.0.0
    • Framework
    • None

    Description

      Our hack to determine whether we should automatically delegate to the parent class loader in certain cases when a class is not found has a bug. It tries to do filter calls to Bundle.loadClass(), but does so incorrectly. It uses Class.isInstance() when it should be using Class.isAssignableFrom().

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            rickhall Richard S. Hall
            rickhall Richard S. Hall
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment