Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 129427 Details for
Bug 269476
testInitJDTPlugin() seems to leak several DeltaProcessor and JavaModelManager
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed fix
bug269476_001.txt (text/plain), 1.55 KB, created by
David Audel
on 2009-03-20 05:06:43 EDT
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
David Audel
Created:
2009-03-20 05:06:43 EDT
Size:
1.55 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: model/org/eclipse/jdt/internal/core/JavaModelManager.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java,v >retrieving revision 1.429 >diff -u -r1.429 JavaModelManager.java >--- model/org/eclipse/jdt/internal/core/JavaModelManager.java 4 Feb 2009 15:54:24 -0000 1.429 >+++ model/org/eclipse/jdt/internal/core/JavaModelManager.java 20 Mar 2009 09:00:22 -0000 >@@ -3592,6 +3592,7 @@ > > public static final void doNotUse() { > // used by tests to simulate a startup >+ MANAGER.deltaState.doNotUse(); > MANAGER = new JavaModelManager(); > } > >Index: model/org/eclipse/jdt/internal/core/DeltaProcessingState.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/DeltaProcessingState.java,v >retrieving revision 1.51 >diff -u -r1.51 DeltaProcessingState.java >--- model/org/eclipse/jdt/internal/core/DeltaProcessingState.java 5 Sep 2008 08:53:01 -0000 1.51 >+++ model/org/eclipse/jdt/internal/core/DeltaProcessingState.java 20 Mar 2009 09:00:21 -0000 >@@ -49,6 +49,10 @@ > * The delta processor for the current thread. > */ > private ThreadLocal deltaProcessors = new ThreadLocal(); >+ >+ public void doNotUse() { >+ this.deltaProcessors.set(null); >+ } > > /* A table from IPath (from a classpath entry) to DeltaProcessor.RootInfo */ > public HashMap roots = new HashMap();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 269476
: 129427