RFR 7183985: Class.getAnnotation() throws an ArrayStoreException when the annotation class not present

Liam Miller-Cushon cushon at google.com
Thu Jan 7 18:59:25 UTC 2016

Hi Joel -

On Tue, Jan 5, 2016 at 1:16 PM, Joel Borggrén-Franck <
joel.borggren.franck at gmail.com> wrote:

> I think you need to do skipMemberValue the correct number of times so
> that the cursor in buf is correct, or?

Thanks for the catch. I added your test case, and the exception proxy is
now stored and returned after the entire array is read.

> Also, in MissingArrayElementTest, why not just rethrow t?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 7183985.2.patch
Type: text/x-patch
Size: 17369 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/core-libs-dev/attachments/20160107/32a21d70/7183985.2.patch>

More information about the core-libs-dev mailing list