From 90d1e2c8dd830bcb8b733b45f7f506b145bb8b3a Mon Sep 17 00:00:00 2001
From: JUnit Team Closing a store does not close its parent or any of its children. Closing a store does not close its parent or any of its children.
+
+ Invocations of this method after the store has already been closed will
+ be ignored.
For a complete list of all closed issues and pull requests for this release, consult the
-5.11.0-M2 milestone page in the
-JUnit repository on GitHub.close
@@ -350,6 +355,7 @@ close
in interface AutoCloseable
get
key
- the key; never null
null
IllegalStateException
- if this store has already been closedget
NamespacedHierarchicalStoreException
- if the stored value cannot
be cast to the required typeIllegalStateException
- if this store has already been closedIllegalStateException - if this store has already been closed
@@ -397,6 +405,7 @@
NamespacedHierarchicalStoreException - if the stored value cannot
be cast to the required type
+
IllegalStateException
- if this store has already been closedput
NamespacedHierarchicalStoreException
- if the stored value cannot
be cast to the required typeIllegalStateException
- if this store has already been closedremove
key
- the key; never null
null
IllegalStateException
- if this store has already been closedremove
NamespacedHierarchicalStoreException
- if the stored value cannot
be cast to the required typeIllegalStateException
- if this store has already been closed
The shipped bytecode was compiled with the -parameters
option of javac
and thus now
-contains metadata for reflection on parameters such as their names.
Java classes in published artifacts are now compiled with the -parameters
option of
+javac
and thus now contain metadata for reflection on parameters such as their names.
❓
+NamespacedHierarchicalStore
now throws an IllegalStateException
for any attempt to
+modify or query the store after it has been closed. In addition, an attempt to close a
+store that has already been closed will have no effect.
See issue 3614 for details.
+