On Sat, 16 Dec 2023 00:11:05 GMT, Brian Burkhalter <b...@openjdk.org> wrote:
>> If we drop the method for now I have to write it later again, I guess > >> If we drop the method for now I have to write it later again, I guess > > Maybe, but it's archived so it's easy enough. If this is only used after Module system is ready, we can use something like: https://github.com/openjdk/jdk/blob/34351b7a7950a3b563748f40f2619374f62f9b16/src/java.base/share/classes/java/nio/file/Files.java#L3352 if (out.getClass().getModule() == Object.class.getModule()) ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/16879#discussion_r1428864626