Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-1631

Classloading problems when taglibs are used.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Scripting JSP 2.0.8
    • Scripting JSP 2.0.10
    • Scripting
    • None

    Description

      When taglibs are used together with jsp scripting there are several problems:
      1. The taglib cache does not detect changes to taglibs (contained in bundles) like the general classloading mechanism through the dynamic classloader - this can result in inconsistencies and classloading problems.
      2. The last modified check for taglibs does not work as expected. As soon as tags are used, they are considered as changed which results in recompilation of the jsp and of the tag where the second invalidates the classloader of the jsp. This classloader is later on used and then a classloading exception is thrown

      Attachments

        Activity

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

          People

            cziegeler Carsten Ziegeler
            cziegeler Carsten Ziegeler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment