Earlier quoted context omitted.
Apparently you haven't been paying attention, declaring off limits APIs started with Android Nougat for NDK developers. Because Linux APIs were never really intended to be called by NDK developers, only the POSIX subset and Android public native APIs. Likewise with Java, which is only a subset of proper Java. In any case, it might relate more to an eventual future support of Java 9 module system, where private really…
> Because Linux APIs were never really intended to be called by NDK developers, only the POSIX subset and Android public native APIs. That's not even slightly true? Android doesn't pretend to be anything but a Linux system, with all the Linux details shining through in all their glory. There is a seccomp policy that blacklists some syscalls, but it's only 17 out of 271 for ARM64 and it's things like setuid or reboot…
These are the only APIs devs are officially allowed to touch.
https://developer.android.com/ndk/guides/stable_apis
Anything else is "works on my phone" kind of thing.