[8u] RFR: Backport of 8067796 (process) Process.waitFor(timeout, unit) doesn't throw NPE if timeout is less than, or equal to zero when unit == null

Andrew Hughes gnu.andrew at redhat.com
Fri Mar 27 07:26:11 UTC 2020



On 26/03/2020 17:39, Sergey Nazarkin wrote:
> Yes, fixes are jdk8 specific and caused by refactoring introduced at http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/cb15bc14c26a.  
> 
> 
> Sergey Nazarkin
> 
> 

Ah right, I see the problem; Fun becomes an interface after JDK-8037866,
allowing the lambdas in the test case to implement it.

I think the right course here is to backport JDK-8037866. It's a test
only change and no doubt other test backports will end up hitting this
problem in the future. Your original webrev should then still be valid.

Thanks,
-- 
Andrew :)

Senior Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net)
Fingerprint = 5132 579D D154 0ED2 3E04  C5A0 CFDA 0F9B 3596 4222



More information about the jdk8u-dev mailing list