--- a/test/langtools/tools/javac/lambda/deduplication/Deduplication.java Wed Apr 11 11:11:13 2018 -0700
+++ b/test/langtools/tools/javac/lambda/deduplication/Deduplication.java Wed Apr 11 14:52:32 2018 -0400
@@ -32,6 +32,12 @@
void group(Object... xs) {}
void test() {
+
+ group(
+ (Runnable) () -> { ( (Runnable) () -> {} ).run(); },
+ (Runnable) () -> { ( (Runnable) () -> {} ).run(); }
+ );
+
group((Function<String, Integer>) x -> x.hashCode());
group((Function<Object, Integer>) x -> x.hashCode());