Re: New candidate JEP: 408: Simple Web Server

2021-03-30 Thread Alex Buckley
Further to Julia's comments: All of the com.sun namespace is JDK-specific -- it's not part of the Java SE Platform API. Around 90% of the com.sun namespace is internal to the JDK -- not intended for use outside the JDK. An example is the com.sun.security.ntlm package in the java.base module.

Re: New candidate JEP: 408: Simple Web Server

2021-03-30 Thread Remi Forax
- Mail original - > De: "mark reinhold" > À: "Julia Boes" > Cc: net-dev@openjdk.java.net, "jdk-dev" > Envoyé: Lundi 29 Mars 2021 21:16:06 > Objet: New candidate JEP: 408: Simple Web Server > https://openjdk.java.net/jeps/408 > > Summary: Provide a command-line tool to start a minimal

Re: Re: New candidate JEP: 408: Simple Web Server

2021-03-30 Thread Julia Boes
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 conven

RFR: 8264048: Fix caching in Jar URL connections when an entry is missing

2021-03-30 Thread Aleksei Efimov
Current fix tries to tackle an issue with URL connection referencing non-existing Jar file entries: If an entry that doesn't exist is specified in an URL connection the underlying Jar file is still cached even if an exception is thrown after that. Such behavior prevents the caller, for instance,