How to import patch from jdk/jdk

Andrew Haley aph at redhat.com
Sat Aug 10 14:34:22 UTC 2019


On 8/10/19 1:27 PM, Laurent Bourgès wrote:
> I tried to use hg qimport to backport the following jdk9 patch (png encoder
> performance issue) on my local jdk8u:
> 
> https://bugs.openjdk.java.net/
> <https://bugs.openjdk.java.net/browse/JDK-6488522>
> browse/JDK-6488522 <https://bugs.openjdk.java.net/browse/JDK-6488522>
> 
> hg qpush fails as the patch class is in java.desktop module but jdk8 has no
> module. It mentions the --prefix option.
> 
> What is the option or wiki page explaining how to use different prefixes ?

You're going to actually have to backport it. Check out the patch, edit it,
then push it locally.

-- 
Andrew Haley  (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
https://keybase.io/andrewhaley
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671


More information about the jdk8u-dev mailing list