diff -r 88502b1cf76f -r 7799a51dbe30 test/langtools/tools/javac/lambda/deduplication/Deduplication.java --- a/test/langtools/tools/javac/lambda/deduplication/Deduplication.java Mon Sep 09 11:43:16 2019 -0400 +++ b/test/langtools/tools/javac/lambda/deduplication/Deduplication.java Wed Nov 27 09:00:01 2019 +0100 @@ -163,6 +163,9 @@ group((Function) x -> switch (x) { default: yield x; }, (Function) x -> switch (x) { default: yield x; }); + + group((Function) x -> x instanceof Integer i ? i : -1, + (Function) x -> x instanceof Integer i ? i : -1); } void f() {}