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 71371 Details for
Bug 185977
InvalidRegistryObjectException thrown when refreshingPackages
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]
Updated patch
patch Registry Refresh V2.txt (text/plain), 1.71 KB, created by
Oleg Besedin
on 2007-06-14 17:02:15 EDT
(
hide
)
Description:
Updated patch
Filename:
MIME Type:
Creator:
Oleg Besedin
Created:
2007-06-14 17:02:15 EDT
Size:
1.71 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.equinox.registry >Index: src/org/eclipse/core/internal/registry/RegistryObjectManager.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/RegistryObjectManager.java,v >retrieving revision 1.10 >diff -u -r1.10 RegistryObjectManager.java >--- src/org/eclipse/core/internal/registry/RegistryObjectManager.java 22 Jun 2006 18:57:02 -0000 1.10 >+++ src/org/eclipse/core/internal/registry/RegistryObjectManager.java 14 Jun 2007 20:54:42 -0000 >@@ -678,8 +678,28 @@ > if (tmp == null) // already removed > continue; > Integer extensionIndex = new Integer(extensions[j]); >- if (!associatedObjects.containsKey(extensionIndex)) >+ if (!associatedObjects.containsKey(extensionIndex)) { > result.put(extensionIndex, tmp); >+ collectChildren(tmp, 0, result); >+ } >+ } >+ } >+ else if (object instanceof ExtensionPoint) { >+ // by now extensions of this extension point have been marked as orphans >+ Map orphans = getOrphans(); >+ String name = ((ExtensionPoint)object).getUniqueIdentifier(); >+ int[] extensions = (int[]) orphans.get(name); >+ if (extensions != null) { >+ for (int j = 0; j < extensions.length; j++) { >+ Extension tmp = (Extension) basicGetObject(extensions[j], RegistryObjectManager.EXTENSION); >+ if (tmp == null) // already removed >+ continue; >+ Integer extensionIndex = new Integer(extensions[j]); >+ if (!associatedObjects.containsKey(extensionIndex)) { >+ result.put(extensionIndex, tmp); >+ collectChildren(tmp, 0, result); >+ } >+ } > } > } > }
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 185977
:
66317
|
66318
|
66319
|
68125
| 71371