From 6f80578a387098bcf054249c512025ec81ae182b Mon Sep 17 00:00:00 2001 From: Chris Beams Date: Wed, 23 Mar 2011 06:20:19 +0000 Subject: [PATCH] Ignore fragile test dependent on debug symbols Issue: SPR-8078 --- .../LocalVariableTableParameterNameDiscovererTests.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/org.springframework.core/src/test/java/org/springframework/core/LocalVariableTableParameterNameDiscovererTests.java b/org.springframework.core/src/test/java/org/springframework/core/LocalVariableTableParameterNameDiscovererTests.java index 20f2d6c64e..5951028343 100644 --- a/org.springframework.core/src/test/java/org/springframework/core/LocalVariableTableParameterNameDiscovererTests.java +++ b/org.springframework.core/src/test/java/org/springframework/core/LocalVariableTableParameterNameDiscovererTests.java @@ -25,6 +25,7 @@ import java.util.Date; import junit.framework.TestCase; +import org.junit.Ignore; import org.springframework.beans.TestBean; /** @@ -192,7 +193,12 @@ public class LocalVariableTableParameterNameDiscovererTests extends TestCase { //System.in.read(); } - public void testMemUsage() throws Exception { + /** + * Ignored because Ubuntu packages OpenJDK with debug symbols enabled. + * See SPR-8078. + */ + @Ignore + public void ignore_testClassesWithoutDebugSymbols() throws Exception { // JDK classes don't have debug information (usually) Class clazz = Component.class; String methodName = "list";