Skip to content

Commit 42ba205

Browse files
merksiloveeclipse
authored andcommitted
Improve DeferredClasspathContainerInitializerJob.belongsTo
- Add ClasspathContainerInitializer.class to the test for families in belongsTo to allow a client to wait for classpath container initialization without knowing or caring about PDE specifically.
1 parent 4a24698 commit 42ba205

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/RequiredPluginsInitializer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ protected IStatus run(IProgressMonitor monitor) {
104104

105105
@Override
106106
public boolean belongsTo(Object family) {
107-
return family == PluginModelManager.class;
107+
return family == PluginModelManager.class || family == ClasspathContainerInitializer.class;
108108
}
109109
}
110110

0 commit comments

Comments
 (0)