Please review this change which implements part of JEP 381:
JBS: https://bugs.openjdk.java.net/browse/JDK-8244224
webrev:
http://cr.openjdk.java.net/~mikael/webrevs/8244224/webrev.00/corelibs/open/webrev/
JEP: https://bugs.openjdk.java.net/browse/JDK-8241787
Note: When reviewing this, please
Hi,
The class level @apiNote in java.util.Objects refers to variation of static
methods checkIndex(int, int), checkFromToIndex(int, int, int), and
checkFromIndexSize(int, int, int), which support customization of the
runtime exception, and corresponding exception detail message.
But these static
Hi All,
I have fixed some warnings in java.base module, following are 3 type of
code changes in this patch:
! stream().filter(...).findFirst().isPresent() replaced with
stream().noneMatch(...))
stream.filter(...).findFirst().isPresent() replaced with
stream.anyMatch(...)
stream.collect(Collecto
I will chip in once more on this topic. (I did so once before [1], perhaps
in a much too wordy manner.)
The proposed changes in AbstractSet.removeAll will be inherited by
TreeSet. A TreeSet might use a comparator as a custom equality test.
Because of this it seems backwards if TreeSet.removeAll w
Hello!
Please review the following change:
https://bugs.openjdk.java.net/browse/JDK-8244288
http://cr.openjdk.java.net/~tvaleev/webrev/8244288/r1/
We already implemented putIfAbsent, merge, computeIfAbsent,
computeIfPresent, and compute for TreeMap class (see JDK-8176894).
However, default implem
On 5/1/20 4:36 PM, Maurizio Cimadamore wrote:
Now there's dup(). I think implementing dup() on a root scope is not
too hard - for the child you probably need some trick, but probably
not too bad - in the sense that in a Child scope, the cleanup action
is really the increment of the root exi