Re: JDK-8041679 Replace uses of StringBuffer with StringBuilder within the JDK

2014-05-12 Thread Remi Forax


On 05/12/2014 12:42 PM, Alan Bateman wrote:

On 12/05/2014 11:03, Paul Sandoz wrote:


It covers many areas and i have grouped the patches into such areas 
to aid reviewing. When commenting please including core-libs.
The groupings are a bit odd but I looked through the -core, -io, 
-management and -rmi patches and don't see any issues. Nothing jumped 
out to suggest that the StringBuffer could be leaked to other threads. 
There are a few cases where additional work could be done but I assume 
you want to focus on s/StringBuffer/StringBuilder/g.


You might want to hear from Remi or Kumar before including asm. I 
mention it because there might be preference to get changes to ASM 
done upstream to avoid the copy in OpenJDK from diverging. 


Hi all,
I've applied the changes to the ASM trunk so Kumar can sync when he wants,
the current revision of the trunk is 1745

cheers,
Rémi



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 web server
>  that serves static files in the current directory. This low-threshold
>  utility will be useful for prototyping, ad-hoc coding, and testing
>  purposes, particularly in educational contexts.


big +1,

For teaching purpose, i'm currently using a thin wrapper with an API close to 
expressjs [1] on top of com.sun.net.httpserver.HttpServer.
 
> 
> - Mark

Rémi

[1] https://github.com/forax/jexpress