Can we put at least new classes to some java.* package (SimpleFileServer, HttpHandlers, Request)? For example, java.net.httpserver.
вт, 30 мар. 2021 г. в 20:14, Julia Boes <julia.b...@oracle.com>: > Hi Krzysztof, > > Is there a plan to change the package name? > I always thought that com.sun.* package was for old internal code and I > assume I'm not the only one. > > the simple server builds on the existing API in the com.sun.net.httpserver > package, which was added in JDK 1.6. At that time, the convention for > JDK-specific APIs was to use the com.sun namespace. Other examples are > com.sun.nio.sctp or com.sun.security.ntlm. In more recent times, this > convention has been replaced with the jdk namespace. Both name spaces are > JDK-specific, as such the simple server API is a supported JDK API. > > Given that we're simply building on top of the long-standing API in > com.sun.net.httpserver, revisiting the package name is out of the scope of > this project. > > Regards, > Julia >