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 163956 Details for
Bug 308220
Test failures in EPartServiceTest, ESelectionServiceTest
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Patch
patch DI outside 2.txt (text/plain), 1.69 KB, created by
Oleg Besedin
on 2010-04-06 15:27:09 EDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Oleg Besedin
Created:
2010-04-06 15:27:09 EDT
Size:
1.69 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.e4.core.contexts >Index: src/org/eclipse/e4/core/internal/contexts/ContextObjectSupplier.java >=================================================================== >RCS file: /cvsroot/eclipse/e4/org.eclipse.e4.ui/bundles/org.eclipse.e4.core.contexts/src/org/eclipse/e4/core/internal/contexts/ContextObjectSupplier.java,v >retrieving revision 1.2 >diff -u -r1.2 ContextObjectSupplier.java >--- src/org/eclipse/e4/core/internal/contexts/ContextObjectSupplier.java 6 Apr 2010 14:25:58 -0000 1.2 >+++ src/org/eclipse/e4/core/internal/contexts/ContextObjectSupplier.java 6 Apr 2010 19:22:24 -0000 >@@ -54,16 +54,19 @@ > return true; > } > >- IEclipseContext originatingContext = event.getContext(); >- ContextObjectSupplier originatingSupplier = getObjectSupplier(originatingContext, injector); > if (event.getEventType() == ContextChangeEvent.DISPOSE) { >+ IEclipseContext originatingContext = event.getContext(); >+ ContextObjectSupplier originatingSupplier = getObjectSupplier(originatingContext, injector); > injector.disposed(originatingSupplier); > return false; > } else if (event.getEventType() == ContextChangeEvent.UNINJECTED) { >+ IEclipseContext originatingContext = event.getContext(); >+ ContextObjectSupplier originatingSupplier = getObjectSupplier(originatingContext, injector); > injector.uninject(event.getArguments()[0], originatingSupplier); > return false; > } else { >- injector.update(new IRequestor[] { requestor }, originatingSupplier); >+ ContextObjectSupplier supplier = getObjectSupplier(context, injector); >+ injector.update(new IRequestor[] { requestor }, supplier); > } > return true; > }
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 308220
:
163941
| 163956