--- old/src/java.desktop/share/classes/java/awt/Image.java 2020-08-28 09:17:29.256764899 +0100 +++ new/src/java.desktop/share/classes/java/awt/Image.java 2020-08-28 09:17:28.952771914 +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 { /** + * Creates an {@code Image}. + */ + protected 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-28 09:17:29.848751236 +0100 +++ new/src/java.desktop/share/classes/java/awt/PrintJob.java 2020-08-28 09:17:29.536758437 +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 { /** + * Creates a {@code PrintJob}. + */ + 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 --- old/src/java.desktop/share/classes/java/awt/font/GlyphVector.java 2020-08-28 09:17:30.468736914 +0100 +++ new/src/java.desktop/share/classes/java/awt/font/GlyphVector.java 2020-08-28 09:17:30.128744770 +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 { + /** + * Creates a {@code GlyphVector}. + */ + protected GlyphVector() {} + // // methods associated with creation-time state // --- old/src/java.desktop/share/classes/java/awt/font/LayoutPath.java 2020-08-28 09:17:31.116721935 +0100 +++ new/src/java.desktop/share/classes/java/awt/font/LayoutPath.java 2020-08-28 09:17:30.800729241 +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 { + + /** + * Creates a {@code LayoutPath}. + */ + protected 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-28 09:17:31.732707682 +0100 +++ new/src/java.desktop/share/classes/java/awt/font/LineMetrics.java 2020-08-28 09:17:31.396715457 +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 { + /** + * Creates a {@code LineMetrics}. + */ + protected 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-28 09:17:32.364693048 +0100 +++ new/src/java.desktop/share/classes/java/awt/image/AbstractMultiResolutionImage.java 2020-08-28 09:17:32.016701111 +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 { /** + * Creates an {@code AbstractMultiResolutionImage}. + */ + protected 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-28 09:17:32.972678963 +0100 +++ new/src/java.desktop/share/classes/java/awt/image/BufferStrategy.java 2020-08-28 09:17:32.652686376 +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 { /** + * Creates a {@code BufferStrategy}. + */ + protected BufferStrategy() {} + + /** * Returns the {@code BufferCapabilities} for this * {@code BufferStrategy}. * --- old/src/java.desktop/share/classes/java/awt/image/ImageFilter.java 2020-08-28 09:17:33.604664304 +0100 +++ new/src/java.desktop/share/classes/java/awt/image/ImageFilter.java 2020-08-28 09:17:33.284671727 +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-28 09:17:34.232649730 +0100 +++ new/src/java.desktop/share/classes/java/awt/image/RGBImageFilter.java 2020-08-28 09:17:33.884657809 +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 { /** + * Creates an {@code RGBImageFilter}. + */ + protected 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-28 09:17:34.832635797 +0100 +++ new/src/java.desktop/share/classes/java/awt/image/VolatileImage.java 2020-08-28 09:17:34.520643042 +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 { + /** + * Creates a {@code VolatileImage}. + */ + protected VolatileImage() {} + // Return codes for validate() method /** --- old/src/java.desktop/share/classes/javax/print/PrintServiceLookup.java 2020-08-28 09:17:35.544619248 +0100 +++ new/src/java.desktop/share/classes/javax/print/PrintServiceLookup.java 2020-08-28 09:17:35.108629384 +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 { /** + * Creates a {@code PrintServiceLookup}. + */ + protected PrintServiceLookup() {} + + /** * Contains a lists of services. */ static class Services { --- old/src/java.desktop/share/classes/javax/print/ServiceUI.java 2020-08-28 09:17:36.284602034 +0100 +++ new/src/java.desktop/share/classes/javax/print/ServiceUI.java 2020-08-28 09:17:35.840612365 +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-28 09:17:36.884588068 +0100 +++ new/src/java.desktop/share/classes/javax/print/ServiceUIFactory.java 2020-08-28 09:17:36.568595423 +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 { /** + * Creates a {@code ServiceUIFactory}. + */ + protected 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/event/PrintJobAdapter.java 2020-08-28 09:17:37.480574182 +0100 +++ new/src/java.desktop/share/classes/javax/print/event/PrintJobAdapter.java 2020-08-28 09:17:37.176581266 +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 { /** + * Creates a {@code PrintJobAdapter}. + */ + protected 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