RFR: 8278263: Remove redundant synchronized from URLStreamHandler.openConnection methods
Alan Bateman
alanb at openjdk.java.net
Wed Jan 26 09:42:34 UTC 2022
On Tue, 25 Jan 2022 21:01:42 GMT, Florent Guillaume <duke at openjdk.java.net> wrote:
> In theory a subclass overloading using a non-synchronized `openConnection(URL u, Proxy p)` could have relied on `openConnection(URL u)` delegating to it and having been synchronized. So maybe this requires a small CSR?
The changes are to the JDK internal classes that implement the file and mailto protocol handlers. Are you thinking about code that extends the sun.* classes or some other scenario?
-------------
PR: https://git.openjdk.java.net/jdk/pull/6373
More information about the net-dev
mailing list