On Fri, 18 Aug 2023 12:02:05 GMT, Matthias Baesken <mbaes...@openjdk.org> wrote:
> I checked the usage of sun/nio/fs/UnixConstants.java and seems we would need > to make the class public and an additional export for this like > > ``` > exports sun.nio.fs to > + java.prefs, > jdk.net; > ``` > > would this be acceptable ? No, I don't think the legacy prefs API being coupled to internals like this. Instead I think this is case where the prefs natives will need to use strerror. ------------- PR Comment: https://git.openjdk.org/jdk/pull/15308#issuecomment-1683856641