src/share/classes/sun/java2d/pipe/RenderQueue.java
Print this page
rev 9629 : 8038644: Fix raw and unchecked warnings in sun.java2d.*
Reviewed-by:
*** 79,92 ****
/**
* A Set containing hard references to Objects that must stay alive until
* the queue has been completely flushed.
*/
! protected Set refSet;
protected RenderQueue() {
! refSet = new HashSet();
buf = RenderBuffer.allocate(BUFFER_SIZE);
}
/**
* Locks the queue for read/write access.
--- 79,92 ----
/**
* A Set containing hard references to Objects that must stay alive until
* the queue has been completely flushed.
*/
! protected Set<Object> refSet;
protected RenderQueue() {
! refSet = new HashSet<>();
buf = RenderBuffer.allocate(BUFFER_SIZE);
}
/**
* Locks the queue for read/write access.