[nbdev] Re: Have annotations gone too far too fast?

  • From: Jaroslav Tulach < >
  • To:
  • Subject: [nbdev] Re: Have annotations gone too far too fast?
  • Date: Thu, 28 Jun 2012 14:47:22 +0200
  • Organization: Oracle

Dne Út 26. června 2012 23:10:51, Peter Blemel napsal(a):
> An annotation processor threw an uncaught exception.
> Consult the following stack trace for details.
> java.lang.annotation.AnnotationTypeMismatchException: Incorrectly typed data
> found for annotation element public abstract int
> org.netbeans.core.spi.multiview.MultiViewElement$Registration.persistenceTy
> pe() (Found data of type int) at

Interesting. I've never seen exception like this before. 

> I get similar dumps from other NetBeans annotation processors (Web services,
> for example).  

Bugzilla is the right place to report these problems.

> It seems to me that the annotation processors that are being pushed into new
> versions are not robust enough for general use.   

Developers writing these processors think "positively" - the processor 
generates the right things when the usage is correct. Catching various 
exceptions requires "negative" style of thinking or a bit of activity by 
those 
who face the problem to report the bugs.

-jt





[nbdev] Have annotations gone too far too fast?

Peter Blemel 06/27/2012

[nbdev] Re: Have annotations gone too far too fast?

Emilian Bold 06/27/2012

[nbdev] Re: Have annotations gone too far too fast?

Jaroslav Tulach 06/28/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close