RFR: JDK-8274977: Remove expandPacked and extendEdge from awt_ImagingLib.c
Matthias Baesken
mbaesken at openjdk.java.net
Tue Oct 12 07:40:47 UTC 2021
On Tue, 12 Oct 2021 06:10:17 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
> > both functions expandPacked and extendEdge are already unused/unreferenced in jdk11u. So I wonder what usages are planned for them and when.
>
> It is necessary to dig into the history of this file, and related bugs in JBS to say how these methods were planned to use.
Searching JBS for the 2 functions did not bring me much useful results (no surprise, no one will fix unused code).
Looking into jdk8u history, seems the functions came with "Initial load" in 2007 (!)
https://hg.openjdk.java.net/jdk8u/jdk8u/jdk/annotate/37a05a11f281/src/share/native/sun/awt/medialib/awt_ImagingLib.c#l1721
Best regards, Matthias
-------------
PR: https://git.openjdk.java.net/jdk/pull/5866
More information about the client-libs-dev
mailing list