src/share/classes/java/lang/reflect/ReflectAccess.java

Print this page
rev 3186 : 6880112: Project Coin: Port JDK core library code to use diamond operator

@@ -82,11 +82,11 @@
                                              int slot,
                                              String signature,
                                              byte[] annotations,
                                              byte[] parameterAnnotations)
     {
-        return new Constructor<T>(declaringClass,
+        return new Constructor<>(declaringClass,
                                   parameterTypes,
                                   checkedExceptions,
                                   modifiers,
                                   slot,
                                   signature,