ArrayStoreException in Class#getAnnotations
Alan.Bateman at oracle.com
Mon Nov 25 22:01:45 UTC 2013
On 24/11/2013 17:07, Philippe Marschall wrote:
> The following issue was been bothering me for a while:
> When you have an annotation with a value that is an array of classes
>  and one of those classes can't be loaded with the class loader of
> defining class of the element the annotation is defined on you get a
> ArrayStoreException (stack trace below).
See JDK-7183985 .
> I would like to take a moment to lament the fact that you no longer
> offer fastdebug builds and no longer include sources for non-API
> classes. Things like this were much easier to debug in the good old
> JDK 6 days. This is double annoying when your marketing honchos are
> always touting increased developer productivity.
I'm curious what you mean by "no longer include source for non-API
classes". If you mean src.zip then I thought it only ever contained the
classes for the API classes.
More information about the core-libs-dev