RFR: 8370216: Fix of new File("").exists() causes undefined behavior in libraries

Brian Burkhalter bpb at openjdk.org
Fri Nov 7 16:37:07 UTC 2025


On Fri, 7 Nov 2025 14:58:22 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> I assume you make it protected to make it clearer that it intended for concrete subclass implementations.

That's correct. Would it be better to change it to package scope?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28158#discussion_r2504482275


More information about the core-libs-dev mailing list