[11u] RFR 8212226: SurfaceManager throws "Invalid Image variant" for MultiResolutionImage (Windows)
Zhengyu Gu
zgu at redhat.com
Tue Sep 1 14:20:18 UTC 2020
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