On Mon, 13 Oct 2025 10:37:47 GMT, Michael McMahon <[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.
>
>> > 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.

+1 for reverting to a simple system property.

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

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

Reply via email to