mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8314877: Make fields final in 'java.net' package
Reviewed-by: jpai
This commit is contained in:
parent
86115c2a2e
commit
283c360392
10 changed files with 23 additions and 27 deletions
|
@ -264,7 +264,7 @@ public class URLClassLoader extends SecureClassLoader implements Closeable {
|
|||
* we have to keep a weak reference to each stream.
|
||||
*/
|
||||
|
||||
private WeakHashMap<Closeable,Void>
|
||||
private final WeakHashMap<Closeable,Void>
|
||||
closeables = new WeakHashMap<>();
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue