]> source.dussan.org Git - aspectj.git/commitdiff
210470: preventing weaver leaks: cast to select right ctor in new bcel API
authoraclement <aclement>
Tue, 27 May 2008 18:50:53 +0000 (18:50 +0000)
committeraclement <aclement>
Tue, 27 May 2008 18:50:53 +0000 (18:50 +0000)
weaver/testsrc/org/aspectj/weaver/bcel/ClassLoaderRepositoryTests.java

index a6f9b0000ba9aa50d5685cf74e9162a167cdd24e..ce7666e84aa5cf5efe4644efbae01053b7352968 100644 (file)
@@ -44,7 +44,7 @@ public class ClassLoaderRepositoryTests extends TestCase {
        }
        
        public void tearDown() {
-                new ClassLoaderRepository(null).reset();
+                new ClassLoaderRepository((ClassLoader) null).reset();
        }
        
        private ClassLoaderRepository setupRepository() throws Exception {