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 68125 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]
Partial patch for 3.3
patch Registry Refresh RC2.txt (text/plain), 1.42 KB, created by
Oleg Besedin
on 2007-05-22 10:33:14 EDT
(
hide
)
Description:
Partial patch for 3.3
Filename:
MIME Type:
Creator:
Oleg Besedin
Created:
2007-05-22 10:33:14 EDT
Size:
1.42 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 22 May 2007 14:25:10 -0000 >@@ -682,6 +682,22 @@ > result.put(extensionIndex, tmp); > } > } >+ 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); >+ } >+ } >+ } > } > associatedObjects.putAll(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