From 6e5a7ad072a040b5d4d22feec698b9012fad4ec4 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 git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4108 50f2f4bb-b051-0410-bef5-90022cba6387 --- .../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 20f2d6c64e0..5951028343f 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";