--- a/test/langtools/tools/javac/lambda/deduplication/Deduplication.java Wed Apr 25 14:53:35 2018 +0200
+++ b/test/langtools/tools/javac/lambda/deduplication/Deduplication.java Wed Apr 25 09:45:45 2018 -0700
@@ -38,6 +38,31 @@
(Runnable) () -> { ( (Runnable) () -> {} ).run(); }
);
+ group(
+ (Runnable) () -> { Deduplication.class.toString(); },
+ (Runnable) () -> { Deduplication.class.toString(); }
+ );
+
+ group(
+ (Runnable) () -> { Integer[].class.toString(); },
+ (Runnable) () -> { Integer[].class.toString(); }
+ );
+
+ group(
+ (Runnable) () -> { char.class.toString(); },
+ (Runnable) () -> { char.class.toString(); }
+ );
+
+ group(
+ (Runnable) () -> { Void.class.toString(); },
+ (Runnable) () -> { Void.class.toString(); }
+ );
+
+ group(
+ (Runnable) () -> { void.class.toString(); },
+ (Runnable) () -> { void.class.toString(); }
+ );
+
group((Function<String, Integer>) x -> x.hashCode());
group((Function<Object, Integer>) x -> x.hashCode());