diff --git a/org.springframework.web.servlet/src/test/java/org/springframework/web/servlet/mvc/annotation/Spr7839Tests.java b/org.springframework.web.servlet/src/test/java/org/springframework/web/servlet/mvc/annotation/Spr7839Tests.java index 2bfedd2871..8238137b67 100644 --- a/org.springframework.web.servlet/src/test/java/org/springframework/web/servlet/mvc/annotation/Spr7839Tests.java +++ b/org.springframework.web.servlet/src/test/java/org/springframework/web/servlet/mvc/annotation/Spr7839Tests.java @@ -68,6 +68,14 @@ public class Spr7839Tests { adapter.handle(request, response, controller); } + @Test + @Ignore + public void listElementAutogrowOutOfMemory() throws Exception { + request.setRequestURI("/nested/listElement"); + request.addParameter("nested.list[1000000000].foo", "Nested"); + adapter.handle(request, response, controller); + } + @Test public void listOfLists() throws Exception { request.setRequestURI("/nested/listOfLists"); @@ -90,7 +98,6 @@ public class Spr7839Tests { } @Test - @Ignore public void arrayOfLists() throws Exception { // TODO TypeDescriptor not capable of accessing nested element type for arrays request.setRequestURI("/nested/arrayOfLists");