--- old/src/java.desktop/share/classes/java/awt/PrintJob.java 2020-09-04 14:38:15.501360410 +0100 +++ new/src/java.desktop/share/classes/java/awt/PrintJob.java 2020-09-04 14:38:15.193365439 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1996, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1996, 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -37,6 +37,11 @@ public abstract class PrintJob { /** + * Constructor for subclasses to call. + */ + protected PrintJob() {} + + /** * Gets a Graphics object that will draw to the next page. * The page is sent to the printer when the graphics * object is disposed. This graphics object will also implement