--- old/src/java.desktop/share/classes/java/awt/image/AbstractMultiResolutionImage.java 2020-09-04 14:38:17.945320506 +0100 +++ new/src/java.desktop/share/classes/java/awt/image/AbstractMultiResolutionImage.java 2020-09-04 14:38:17.629325665 +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. + */ + protected AbstractMultiResolutionImage() {} + + /** * This method simply delegates to the same method on the base image and * it is equivalent to: {@code getBaseImage().getWidth(observer)}. *