RFR: 7105350: HttpExchange's attributes are the same as HttpContext's attributes [v5]

Michael McMahon michaelm at openjdk.org
Mon Oct 13 10:40:04 UTC 2025


On Mon, 13 Oct 2025 10:20:31 GMT, Alan Bateman <alanb at openjdk.org> 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


More information about the core-libs-dev mailing list