--- a/jdk/src/share/classes/java/lang/invoke/MethodHandles.java Thu Jan 05 08:42:40 2012 -0800
+++ b/jdk/src/share/classes/java/lang/invoke/MethodHandles.java Wed Jan 18 17:34:29 2012 -0800
@@ -1006,6 +1006,7 @@
* is set and {@code asVarargsCollector} fails
* @throws NullPointerException if the argument is null
*/
+ @SuppressWarnings("rawtypes") // Will be Constructor<?> after JSR 292 MR
public MethodHandle unreflectConstructor(Constructor c) throws IllegalAccessException {
MemberName ctor = new MemberName(c);
assert(ctor.isConstructor());