Bug 486067: Deprecate org.eclipse.core.commands.common.EventManager
diff --git a/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/common/EventManager.java b/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/common/EventManager.java
index 79f52b4..edae031 100644
--- a/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/common/EventManager.java
+++ b/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/common/EventManager.java
@@ -22,6 +22,10 @@
* <p>
* Clients may extend.
* </p>
+ * <p>
+ * <b>Warning:</b> Do not use this class! Use {@link ListenerList} directly. See
+ * <a href="https://bugs.eclipse.org/486067">bug 486067</a>.
+ * </p>
*
* @since 3.2
*/
@@ -65,6 +69,9 @@
/**
* Returns the listeners attached to this event manager.
+ * <p>
+ * Note: Callers of this method <b>must not</b> modify the returned array.
+ * </p>
*
* @return The listeners currently attached; may be empty, but never
* <code>null</code>