Skip to content
This repository was archived by the owner on Dec 15, 2021. It is now read-only.

Commit 01914f7

Browse files
committed
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.
1 parent e6285b5 commit 01914f7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

SPR-9176/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
<dependency>
1717
<groupId>org.springframework</groupId>
1818
<artifactId>spring-context</artifactId>
19-
<version>3.0.5.RELEASE</version>
19+
<version>3.2.0.BUILD-SNAPSHOT</version>
2020
</dependency>
2121
<dependency>
2222
<groupId>org.springframework</groupId>
2323
<artifactId>spring-webmvc</artifactId>
24-
<version>3.0.5.RELEASE</version>
24+
<version>3.2.0.BUILD-SNAPSHOT</version>
2525
</dependency>
2626
<dependency>
2727
<groupId>cglib</groupId>
@@ -37,7 +37,7 @@
3737
<dependency>
3838
<groupId>org.springframework</groupId>
3939
<artifactId>spring-web</artifactId>
40-
<version>3.0.5.RELEASE</version>
40+
<version>3.2.0.BUILD-SNAPSHOT</version>
4141
</dependency>
4242
</dependencies>
4343
<build>

SPR-9176/src/main/java/leak/RequestScoped.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
public class RequestScoped implements BeanFactoryAware {
1717

1818
@SuppressWarnings("unused")
19-
@Resource // workaround: use @Autowired
19+
@Resource
2020
private HttpServletRequest request;
2121

2222
private DefaultListableBeanFactory factory;

0 commit comments

Comments
 (0)