Skip to content

Commit b8da969

Browse files
committed
8362659: Remove sun.print.PrintJob2D.finalize()
Reviewed-by: serb
1 parent 48ba9d4 commit b8da969

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/java.desktop/share/classes/sun/print/PrintJob2D.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -912,15 +912,6 @@ public synchronized void end() {
912912
}
913913
}
914914

915-
/**
916-
* Ends this print job once it is no longer referenced.
917-
* @see #end
918-
*/
919-
@SuppressWarnings("removal")
920-
public void finalize() {
921-
end();
922-
}
923-
924915
/**
925916
* Prints the page at the specified index into the specified
926917
* {@link Graphics} context in the specified

0 commit comments

Comments
 (0)