Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-dev] Assert and ListenerList


The new org.eclipse.equinox.common plugin (exported by org.eclipse.core.runtime) has three very familiar classes as new API: Assert, AssertionFailedException and ListenerList.  There are *many* copies of these classes in the SDK, so now is a good time to start using these canonical implementations and deleting your non-API copies.  ListenerList in particular has had some thread safety bugs fixed since most people copied it, so using the runtime copy will ensure you are getting all the latest fixes.  Here are the copies of these classes that I found in a search on today's I-build:

org.eclipse.core.internal.commands.util.Assert
org.eclipse.core.internal.expressions.Assert
org.eclipse.jdt.internal.core.Assert
org.eclipse.jdt.internal.corext.Assert
org.eclipse.jface.text.Assert
org.eclipse.jface.util.Assert
org.eclipse.ltk.internal.core.refactoring.Assert
org.eclipse.ltk.internal.ui.refactoring.Assert
org.eclipse.team.internal.ccvs.core.util.Assert
org.eclipse.team.internal.core.Assert
org.eclipse.test.internal.performance.data.Assert
org.eclipse.ui.internal.components.Assert
org.eclipse.ui.internal.misc.Assert
org.eclipse.update.internal.core.Assert

org.eclipse.core.internal.expressions.AssertionFailedException
org.eclipse.jdt.internal.core.Assert.AssertionFailedException
org.eclipse.jdt.internal.corext.Assert.AssertionFailedException
org.eclipse.jface.text.Assert.AssertionFailedException
org.eclipse.jface.util.Assert.AssertionFailedException
org.eclipse.ltk.internal.core.refactoring.AssertionFailedException
org.eclipse.ltk.internal.ui.refactoring.AssertionFailedException
org.eclipse.team.internal.ccvs.core.util.AssertionFailedException
org.eclipse.team.internal.core.Assert.AssertionFailedException
org.eclipse.test.internal.performance.data.Assert.AssertionFailedException
org.eclipse.ui.internal.components.Assert.AssertionFailedException
org.eclipse.ui.internal.misc.AssertionFailedException
org.eclipse.update.internal.core.Assert.AssertionFailedException

org.eclipse.core.commands.util.ListenerList
org.eclipse.core.internal.runtime.ListenerList
org.eclipse.core.internal.variables.ListenerList
org.eclipse.debug.internal.core.ListenerList
org.eclipse.jdt.internal.corext.refactoring.ListenerList
org.eclipse.jdt.internal.launching.ListenerList
org.eclipse.jface.util.ListenerList
org.eclipse.ltk.internal.core.refactoring.ListenerList
org.eclipse.team.internal.core.ListenerList
org.eclipse.ui.navigator.internal.ListenerList

Back to the top