--- old/src/java.desktop/share/classes/java/awt/Image.java 2020-08-17 10:55:42.825495515 +0100 +++ new/src/java.desktop/share/classes/java/awt/Image.java 2020-08-17 10:55:42.657491855 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1995, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1995, 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 @@ -46,6 +46,11 @@ public abstract class Image { /** + * Constructor for subclasses to call. + */ + public Image() {} + + /** * convenience object; we can use this single static object for * all images that do not create their own image caps; it holds the * default (unaccelerated) properties. --- old/src/java.desktop/share/classes/java/awt/PrintJob.java 2020-08-17 10:55:43.321506302 +0100 +++ new/src/java.desktop/share/classes/java/awt/PrintJob.java 2020-08-17 10:55:43.153502653 +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. + */ + public 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 --- old/src/java.desktop/share/classes/java/awt/font/GlyphVector.java 2020-08-17 10:55:43.805516815 +0100 +++ new/src/java.desktop/share/classes/java/awt/font/GlyphVector.java 2020-08-17 10:55:43.637513166 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 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 @@ -108,6 +108,11 @@ public abstract class GlyphVector implements Cloneable { + /** + * Constructor for subclasses to call. + */ + public GlyphVector() {} + // // methods associated with creation-time state // --- old/src/java.desktop/share/classes/java/awt/font/LayoutPath.java 2020-08-17 10:55:44.257526616 +0100 +++ new/src/java.desktop/share/classes/java/awt/font/LayoutPath.java 2020-08-17 10:55:44.105523324 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 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 @@ -41,6 +41,12 @@ * @since 1.6 */ public abstract class LayoutPath { + + /** + * Constructor for subclasses to call. + */ + public LayoutPath() {} + /** * Convert a point in user space to a location relative to the * path. The location is chosen so as to minimize the distance --- old/src/java.desktop/share/classes/java/awt/font/LineMetrics.java 2020-08-17 10:55:44.701536228 +0100 +++ new/src/java.desktop/share/classes/java/awt/font/LineMetrics.java 2020-08-17 10:55:44.549532937 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2003, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 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 @@ -43,6 +43,10 @@ public abstract class LineMetrics { + /** + * Constructor for subclasses to call. + */ + public LineMetrics() {} /** * Returns the number of characters ({@code char} values) in the text whose --- old/src/java.desktop/share/classes/java/awt/image/AbstractMultiResolutionImage.java 2020-08-17 10:55:45.145545831 +0100 +++ new/src/java.desktop/share/classes/java/awt/image/AbstractMultiResolutionImage.java 2020-08-17 10:55:44.997542637 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2015, 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 @@ -66,6 +66,11 @@ implements MultiResolutionImage { /** + * Constructor for subclasses to call. + */ + public AbstractMultiResolutionImage() {} + + /** * This method simply delegates to the same method on the base image and * it is equivalent to: {@code getBaseImage().getWidth(observer)}. * --- old/src/java.desktop/share/classes/java/awt/image/BufferStrategy.java 2020-08-17 10:55:45.613555931 +0100 +++ new/src/java.desktop/share/classes/java/awt/image/BufferStrategy.java 2020-08-17 10:55:45.445552306 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 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 @@ -135,6 +135,11 @@ public abstract class BufferStrategy { /** + * Constructor for subclasses to call. + */ + public BufferStrategy() {} + + /** * Returns the {@code BufferCapabilities} for this * {@code BufferStrategy}. * --- old/src/java.desktop/share/classes/java/awt/image/ImageFilter.java 2020-08-17 10:55:46.097566369 +0100 +++ new/src/java.desktop/share/classes/java/awt/image/ImageFilter.java 2020-08-17 10:55:45.925562664 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1995, 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1995, 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 @@ -43,6 +43,12 @@ * @author Jim Graham */ public class ImageFilter implements ImageConsumer, Cloneable { + + /** + * Creates an {@code ImageFilter} + */ + public ImageFilter() {} + /** * The consumer of the particular image data stream for which this * instance of the ImageFilter is filtering data. It is not --- old/src/java.desktop/share/classes/java/awt/image/RGBImageFilter.java 2020-08-17 10:55:46.577576694 +0100 +++ new/src/java.desktop/share/classes/java/awt/image/RGBImageFilter.java 2020-08-17 10:55:46.421573339 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1995, 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1995, 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 @@ -67,6 +67,11 @@ public abstract class RGBImageFilter extends ImageFilter { /** + * Constructor for subclasses to call. + */ + public RGBImageFilter() {} + + /** * The {@code ColorModel} to be replaced by * {@code newmodel} when the user calls * {@link #substituteColorModel(ColorModel, ColorModel) substituteColorModel}. --- old/src/java.desktop/share/classes/java/awt/image/VolatileImage.java 2020-08-17 10:55:47.061587101 +0100 +++ new/src/java.desktop/share/classes/java/awt/image/VolatileImage.java 2020-08-17 10:55:46.909583835 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 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 @@ -133,6 +133,11 @@ public abstract class VolatileImage extends Image implements Transparency { + /** + * Constructor for subclasses to call. + */ + public VolatileImage() {} + // Return codes for validate() method /** --- old/src/java.desktop/share/classes/javax/print/PrintServiceLookup.java 2020-08-17 10:55:47.513596792 +0100 +++ new/src/java.desktop/share/classes/javax/print/PrintServiceLookup.java 2020-08-17 10:55:47.357593447 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 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 @@ -66,6 +66,11 @@ public abstract class PrintServiceLookup { /** + * Constructor for subclasses to call. + */ + public PrintServiceLookup() {} + + /** * Contains a lists of services. */ static class Services { --- old/src/java.desktop/share/classes/javax/print/ServiceUI.java 2020-08-17 10:55:47.965606483 +0100 +++ new/src/java.desktop/share/classes/javax/print/ServiceUI.java 2020-08-17 10:55:47.817603309 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 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 @@ -66,6 +66,11 @@ public class ServiceUI { /** + * Creates a {@code ServiceUI}. + */ + public ServiceUI() {} + + /** * Presents a dialog to the user for selecting a print service (printer). It * is displayed at the location specified by the application and is modal. * If the specification is invalid or would make the dialog not visible it --- old/src/java.desktop/share/classes/javax/print/ServiceUIFactory.java 2020-08-17 10:55:48.469617255 +0100 +++ new/src/java.desktop/share/classes/javax/print/ServiceUIFactory.java 2020-08-17 10:55:48.301613665 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 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 @@ -57,6 +57,11 @@ public abstract class ServiceUIFactory { /** + * Constructor for subclasses to call. + */ + public ServiceUIFactory() {} + + /** * Denotes a UI implemented as a Swing component. The value of the string is * the fully qualified classname : "javax.swing.JComponent". */ --- old/src/java.desktop/share/classes/javax/print/StreamPrintServiceFactory.java 2020-08-17 10:55:48.945627427 +0100 +++ new/src/java.desktop/share/classes/javax/print/StreamPrintServiceFactory.java 2020-08-17 10:55:48.781623923 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 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 @@ -53,6 +53,11 @@ public abstract class StreamPrintServiceFactory { /** + * Constructor for subclasses to call. + */ + public StreamPrintServiceFactory() {} + + /** * Contains a list of factories. */ static class Services { --- old/src/java.desktop/share/classes/javax/print/event/PrintJobAdapter.java 2020-08-17 10:55:49.381636719 +0100 +++ new/src/java.desktop/share/classes/javax/print/event/PrintJobAdapter.java 2020-08-17 10:55:49.237633651 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 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 PrintJobAdapter implements PrintJobListener { /** + * Constructor for subclasses to call. + */ + public PrintJobAdapter() {} + + /** * Called to notify the client that data has been successfully transferred * to the print service, and the client may free local resources allocated * for that data. The client should not assume that the data has been