Uploaded image for project: 'OpenWebBeans'
  1. OpenWebBeans
  2. OWB-733

CLONE - ClassLoader leak in WebBeansUtil.isScopeTypeNormalCache

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.2.0
    • Component/s: Context and Scopes
    • Labels:

      Description

      OpenWebBeans can shipped with JavaEE server(ex. TomEE), and codi may be in the WEB-INF/lib folder.
      WebBeansUtil.isScopeTypeNormalCache will holder some annotation class like ViewAccessScope. This will cause classLoader leak when reload the web apps.
      Maybe we should use weak reference.

      This also needs fixing in OWB-1.2.x

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                struberg Mark Struberg
                Reporter:
                chunlinyao chunlinyao
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: