Type inference: bug or feature?

2020-07-26 Thread Justin Dekeyser
Dear all, I'm not sure but I think I've found a bug in Java type inference mechanism. It may also be a feature, so I'll expose the problem to you below; in terms of Integer, Number and List, although you'll quickly realize it will work wrong in any similar situation. Let's assume I have static

Re: RFR: JDK-8244288 Specialized implementations for putIfAbsent, merge, compute* methods in TreeMap derived maps

2020-07-26 Thread Tagir Valeev
Hello! A gentle ping: please review https://bugs.openjdk.java.net/browse/JDK-8244288 http://cr.openjdk.java.net/~tvaleev/webrev/8244288/r1/ The details are listed below. With best regards, Tagir Valeev. On Sun, May 3, 2020 at 4:36 PM Tagir Valeev wrote: > > Hello! > > Please review the followin