diff options
| author | Elliott Hughes <enh@google.com> | 2009-08-28 15:54:30 -0700 |
|---|---|---|
| committer | Elliott Hughes <enh@google.com> | 2009-09-03 12:41:40 -0700 |
| commit | af12a6637be4cbb9366cd88cecd22cfc82087086 (patch) | |
| tree | 3722484c0be3af39a5580ae943a41479a5a4da47 /vm/compiler/codegen/Optimizer.h | |
| parent | f7fb00865dd05c32aab5b968fd79ae0ef63e9d6c (diff) | |
Fix Class.getConstructor("whatever", (Class[]) null).
The RI treats null parameterTypes the same as an empty array.
This behavior is specified for getMethod, but only implied for getConstructor.
This patch:
* Fixes getConstructor.
* Improves javadoc for Class methods taking "Class... parameterTypes".
* Adds tests for both getConstructor and getMethod (which was already correct).
* Removes a line of debugging output to System.out.
Bug: 1824973
Diffstat (limited to 'vm/compiler/codegen/Optimizer.h')
0 files changed, 0 insertions, 0 deletions
