Fair enough, that warning is enough. You don't need to add anything else. I'm ok with the patch.
/Magnus > 3 dec. 2018 kl. 20:37 skrev Sergey Bylokhov <sergey.bylok...@oracle.com>: > > Hi, Magnus. > >> This looks good to me too, but as I said before, I still think you should >> write a note about this change in UPDATING.txt, so this fix is not lost if >> pnglibconf.h were to be re-generated. > All lines which started by "/*#undef " in the "pnglibconf.h" are commented > manually > and this is an existed note in the UPDATING.txt: > ========= > 4) Special and careful handling of pnglibconf.h > OpenJDK has a heavily modified copy of pnglibconf.h. > This is the trickiest part of the whole exercise. > This file is generated by png at build time. > Except for the dates and version, you should generally not need to update > OpenJDK's copy unless the new version of PNG has added rquired new #defines > that cause problems building. > You can run configure && make on the downloaded source and compare but we > do not want to enable any of the WRITE support, and there are many more > modifications as well. > So do NOT just copy in a file from the new libpng. > So lots of reasons to not copy over the new version, > and instead just tweak the existing one. > ========= > > -- > Best regards, Sergey.