Ok, I will make the changes to AnnotationLiteral and to TypeLiteral
(tomorrow probably)
Also, to be compliant with the Annotation API we need to implement
equals() and hashCode() to use annotationType(), not Object::equals().
I made this change in the API.
On 23 Oct 2008, at 21:59, Pete Muir wrote:
See the commented out method in -
https://svn.jboss.org/repos/webbeans/ri/trunk/webbeans-api/src/main/java/...
- if you swap the methods and remove the exception, it works.
On 23 Oct 2008, at 21:48, Gavin King wrote:
> Fix it and send me the right class.
>
> On Thu, Oct 23, 2008 at 8:26 AM, Pete Muir
> <pmuir(a)bleepbleep.org.uk> wrote:
>> Any reason why we require
>>
>> if (!(getClass().getSuperclass() == AnnotationLiteral.class))
>> {
>> throw new RuntimeException(
>> "Not a direct subclass of AnnotationLiteral");
>> }
>>
>> this stops me using annotation literals as an anonymous inner
>> class AFACIT
>> (as you can't use implement when defining one).
>> _______________________________________________
>> webbeans-dev mailing list
>> webbeans-dev(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/webbeans-dev
>>
>
>
>
> --
> Gavin King
> gavin.king(a)gmail.com
>
http://in.relation.to/Bloggers/Gavin
>
http://hibernate.org
>
http://seamframework.org
> _______________________________________________
> webbeans-dev mailing list
> webbeans-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/webbeans-dev
_______________________________________________
webbeans-dev mailing list
webbeans-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/webbeans-dev