JDK-8020981: Update methods of java.lang.reflect.Parameter to throw correct exceptions

Joel Borggrén-Franck joel.franck at oracle.com
Fri Sep 13 13:55:31 UTC 2013

Hi Eric,

IIRC we don't check in classfiles into the repo.

I'm not sure how we handle testing of broken class-files in jdk, but ASM might be an option, or storing the class file as an embedded byte array in the test.


On Sep 13, 2013, at 3:40 PM, Eric McCorkle <eric.mccorkle at oracle.com> wrote:

> A new webrev is posted (and crucible updated), which actually validates
> parameter names correctly.  Apologies for the last one.
> On 09/12/13 16:02, Eric McCorkle wrote:
>> Hello,
>> Please review this patch, which implements correct behavior for the
>> Parameter Reflection API in the case of malformed class files.
>> The bug report is here:
>> https://bugs.openjdk.java.net/browse/JDK-8020981
>> The webrev is here:
>> http://cr.openjdk.java.net/~emc/8020981/
>> This review is also on crucible.  The ID is CR-JDK8TL-182.
>> Thanks,
>> Eric

More information about the core-libs-dev mailing list