more work on java/lang/ref/* support

This commit is contained in:
Joel Dice
2007-07-19 19:07:30 -06:00
parent b213ec0ef8
commit faf9b63798
6 changed files with 59 additions and 22 deletions

View File

@ -19,10 +19,10 @@ public abstract class ReferenceQueue<T> {
void add(Reference<? extends T> r) {
r.next = r;
if (front == null) {
front = rear = r;
front = r;
} else {
rear.next = r;
rear = r;
}
rear = r;
}
}