On Wed, 12 Jul 2023 07:07:05 GMT, Matthias Baesken <[email protected]> wrote:

> There is a MAP_FAILED definition in 
> src/java.desktop/unix/native/common/awt/fontpath.c but it is never used in 
> the coding and seems to be obsolete.

I did some digging and this was used in a function related to obtaining font 
dirs on Solaris.
I suppose the definition was needed because the function was still compiled on 
Linux.
That function was removed a long time ago, even  before the Solaris port was 
removed.
So this is indeed obsolete.

-------------

Marked as reviewed by prr (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/14843#pullrequestreview-1527102069

Reply via email to