Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,19 @@ outside WALA, please [let the WALA maintainers
know](https://github.com/wala/WALA/issues/new) so that we don't remove them in a
future release.

#### `com.ibm.wala.util.intset.BitSet` deprecated

`com.ibm.wala.util.intset.BitSet<T>` is now deprecated, marked
`@Deprecated(since = "1.9.0")`. The class has not been used anywhere within
WALA since WALA moved from Subversion to Git in April 2012, and we do not
believe it is used anywhere outside WALA. Use an `IntSet`
type such as `MutableSparseIntSet` or `BitVectorIntSet`, or the read-only
`OrdinalSet<T>`, together with an `OrdinalSetMapping<T>` instead.

**Effect for third-party consumers:** if you do use `BitSet<T>` outside WALA,
please [let the WALA maintainers know](https://github.com/wala/WALA/issues/new)
so that we don't remove it in a future release.

#### Analysis scope files may reference classes and sources packaged in JARs

In an analysis scope file, `classFile` and `sourceFile` entries previously
Expand Down
8 changes: 7 additions & 1 deletion util/src/main/java/com/ibm/wala/util/intset/BitSet.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@
import com.ibm.wala.util.debug.Assertions;
import java.util.Iterator;

/** A bit set is a set of elements, each of which corresponds to a unique integer from [0,MAX]. */
/**
* A bit set is a set of elements, each of which corresponds to a unique integer from [0,MAX].
*
* @deprecated Use an {@link IntSet} such as {@link MutableSparseIntSet} or {@link BitVectorIntSet}
* together with an {@link OrdinalSetMapping} instead. This class has no known use within WALA.
*/
@Deprecated(since = "1.9.0")
public final class BitSet<T> {

/** The backing bit vector that determines set membership. */
Expand Down