10 Replies Latest reply on Jan 31, 2008 8:38 AM by Gilles Compienne

    New ClassLoader initial checkin

    Adrian Brock Master

      The new ClassLoader is in SVN.
      (for non jboss committers replace https://svn.jboss.org/... with http://anonsvn.jboss.org/
      when the mirroring catches up).

      First some housekeeping points.

      1) Although I committed this to the microcontainer project, it doesn't really belong there.
      It's only real dependency is the jboss logger.
      I'm leaving it their for now while I work on the VFS/Deployer integration.
      Eventually it should be moved to a top level project.

      2) The original intention was to use the Felix ClassLoader and retrofit it with
      UnifiedClassLoader/Repository like behaviour. In fact, it was easier to refactor
      the UCL/R style classloader to add OSGI style behaviour.
      The only things I've really used from the felix as the idea of delegate/filtered
      classloaders and the hack you can find in ClassLoaderUtils::isRequestFromJDK()

      This was mainly because the Felix classloader links directly into the OSGi
      module system and more importantly doesn't include the fixes/workarounds
      for the ClassCircularityError/deadlock problems.