Permalink
Browse files

Prove SPR-9176 is fixed against 3.2.0.BUILD-SNAPSHOT

Webapp no longer exhibits the memory leak behavior after the fix just
committed against CommonAnnotationBeanPostProcessor.
  • Loading branch information...
1 parent e6285b5 commit 01914f7596d6be83cad988e70f514c92aa9c3985 @cbeams cbeams committed May 1, 2012
Showing with 4 additions and 4 deletions.
  1. +3 −3 SPR-9176/pom.xml
  2. +1 −1 SPR-9176/src/main/java/leak/RequestScoped.java
View
@@ -16,12 +16,12 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
- <version>3.0.5.RELEASE</version>
+ <version>3.2.0.BUILD-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
- <version>3.0.5.RELEASE</version>
+ <version>3.2.0.BUILD-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>cglib</groupId>
@@ -37,7 +37,7 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
- <version>3.0.5.RELEASE</version>
+ <version>3.2.0.BUILD-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
@@ -16,7 +16,7 @@
public class RequestScoped implements BeanFactoryAware {
@SuppressWarnings("unused")
- @Resource // workaround: use @Autowired
+ @Resource
private HttpServletRequest request;
private DefaultListableBeanFactory factory;

0 comments on commit 01914f7

Please sign in to comment.