Uploaded image for project: 'Nuxeo IDE'
  1. Nuxeo IDE
  2. NXIDE-121

package-info.java trigger LocalURLClassLoader leak when hot-deploying Seam project

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1

      Description

      Steps to reproduce:

      • create a new Seam project using the Nuxeo IDE
      • add a package-info file on a the package of a Seam component (e.g. to add a javadoc for the package)
      • start nuxeo server and re-deploy the project

      Observed: do a heap dump with JVisualVM: you will see two instances of LocalURLClassLoader instead of one
      Expected: only one instance: otherwise class definitions can be

      Derived problems: ClassCastException in the getAdapter method of Runtime components that are loaded by the "wrong" classloader.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: