On Mon, 13 Oct 2025 10:20:31 GMT, Alan Bateman <[email protected]> wrote:

> > Could we get access to net.properties without needing to use that class in 
> > sun.net?
> 
> net.properties is user editable configuration (in ${java.home}/conf), it's 
> not an encapsulated resource.

I guess it still means duplicating the NetProperties class in jdk.httpserver, 
which might not be too desirable. Or alternatively create a httpserver specific 
properties file. Not sure it's worth all that effort unless other properties 
might migrate there also. Otherwise, we can revert to a simple system property.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27652#discussion_r2425891383

Reply via email to