Stuart McCulloch contributed a custom classloader that fixes the memory leak and supports OSGi-style classloaders (plus any other form of non-delegation).
Now when Guice loads its own classes (for AOP, etc.), those classes will get garbage collected properly when they go out of scope.
git-svn-id: https://google-guice.googlecode.com/svn/trunk@538 d779f126-a31b-0410-b53b-1d3aecad763e
diff --git a/guice.iml b/guice.iml
index f4d0954..cb08b03 100644
--- a/guice.iml
+++ b/guice.iml
@@ -72,7 +72,9 @@
<root url="file://$MODULE_DIR$/lib/build" />
</CLASSES>
<JAVADOC />
- <SOURCES />
+ <SOURCES>
+ <root url="jar://$MODULE_DIR$/lib/build/cglib-src-2.2.jar!/src/proxy" />
+ </SOURCES>
<jarDirectory url="file://$MODULE_DIR$/lib/build" recursive="false" />
</library>
</orderEntry>