[11u] RFR 8212226: SurfaceManager throws "Invalid Image variant" for MultiResolutionImage (Windows)

Lindenmaier, Goetz goetz.lindenmaier at sap.com
Wed Sep 2 09:51:18 UTC 2020


Hi Zhengyu,

The downport looks good.

Best regards,
  Goetz.

> -----Original Message-----
> From: jdk-updates-dev <jdk-updates-dev-retn at openjdk.java.net> On Behalf
> Of Zhengyu Gu
> Sent: Tuesday, September 1, 2020 4:20 PM
> To: jdk-updates-dev at openjdk.java.net
> Subject: [11u] RFR 8212226: SurfaceManager throws "Invalid Image variant"
> for MultiResolutionImage (Windows)
> 
> I would like to backport this to 11u for parity with Oracle 11.0.10-oracle.
> 
> The original patch does not apply cleanly. However, the only conflict is
> the copyright year of SunGraphics2D.java.
> 
> --- SunGraphics2D.java
> +++ SunGraphics2D.java
> @@ -1,5 +1,5 @@
>   /*
> - * Copyright (c) 1996, 2018, 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
> 
> 
> The original bug: https://bugs.openjdk.java.net/browse/JDK-8212226
> The original patch: https://hg.openjdk.java.net/jdk/jdk/rev/228f79238630
> 
> 11u webrev: http://cr.openjdk.java.net/~zgu/JDK-8212226-11u/webrev.00/
> 
> Test:
>    MultiResolutionImageSelectionTest.java on Windows and Linux
> 
> Thanks,
> 
> -Zhengyu



More information about the jdk-updates-dev mailing list