Browse Source

removed shared reflection world test for now

tags/V1_9_0_RC3
Andy Clement 6 years ago
parent
commit
923a1f48ce

+ 1
- 2
weaver5/java5-testsrc/org/aspectj/weaver/TestJava5ReflectionBasedReferenceTypeDelegate.java View File

@@ -1,5 +1,5 @@
/* *******************************************************************
* Copyright (c) 2005 Contributors.
* Copyright (c) 2005-2017 Contributors.
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0
@@ -77,7 +77,6 @@ public class TestJava5ReflectionBasedReferenceTypeDelegate extends ReflectionBas
ResolvedType rt2 = genericType.getSuperclass();
assertTrue("Superclass for Map generic type should be Object but was " + rt2, rt2.equals(UnresolvedType.OBJECT));
}

/**
* This is testing the optimization in the reflective annotation finder to verify that if you only want runtime

+ 3
- 1
weaver5/java5-testsrc/org/aspectj/weaver/reflect/ReflectionWorldTest.java View File

@@ -40,7 +40,9 @@ public class ReflectionWorldTest extends TestCase {
assertEquals("Ljava/lang/Object;", rt.getSignature());
}
public void testReflectionWorldFactory() throws Exception {
// Removed for now. In Spring the reflection worlds are customized by introducing new
// PCD handlers. It means more thought needs to be put into reusing worlds.
public void xtestReflectionWorldFactory() throws Exception {
ClassLoader parent = getClass().getClassLoader();
ClassLoader cl1 = new URLClassLoader(new URL[] {}, parent);
ClassLoader cl2 = new URLClassLoader(new URL[] {}, parent);

Loading…
Cancel
Save