--- a/jdk/src/share/classes/java/lang/reflect/Constructor.java Wed Jan 23 15:12:28 2013 +0000
+++ b/jdk/src/share/classes/java/lang/reflect/Constructor.java Wed Jan 23 17:54:34 2013 +0000
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1996, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -205,6 +205,11 @@
/**
* {@inheritDoc}
+ */
+ public int getParameterCount() { return parameterTypes.length; }
+
+ /**
+ * {@inheritDoc}
* @throws GenericSignatureFormatError {@inheritDoc}
* @throws TypeNotPresentException {@inheritDoc}
* @throws MalformedParameterizedTypeException {@inheritDoc}