RFR 8049220: URL.factory data race (original) (raw)

Alan Bateman Alan.Bateman at oracle.com
Thu Jul 3 16:33:47 UTC 2014


On 03/07/2014 09:43, Peter Levart wrote:

Hi,

I noticed a data race in java.net.URL: https://bugs.openjdk.java.net/browse/JDK-8049220 I propose the following simple patch: http://cr.openjdk.java.net/~plevart/jdk9-dev/URL.factory/webrev.01/ A good catch and the change looks good to me. I assume it just wasn't noticed because it can only be set once and probably rared used too.

-Alan



More information about the core-libs-dev mailing list