beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chad Schoettger (JIRA)" <...@beehive.apache.org>
Subject [jira] Resolved: (BEEHIVE-1067) Invalid value for @ControlReferences annotation causes assertion error in apt
Date Tue, 14 Feb 2006 18:45:12 GMT
     [ http://issues.apache.org/jira/browse/BEEHIVE-1067?page=all ]
     
Chad Schoettger resolved BEEHIVE-1067:
--------------------------------------

    Fix Version: v.next
     Resolution: Fixed
      Assign To: Jacob Danner  (was: Chad Schoettger)

Fixed svn rev 377800, added additional check for ControlReferences type values.

> Invalid value for @ControlReferences annotation causes assertion error in apt
> -----------------------------------------------------------------------------
>
>          Key: BEEHIVE-1067
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-1067
>      Project: Beehive
>         Type: Bug
>   Components: Controls
>     Versions: v1m1
>     Reporter: Chad Schoettger
>     Assignee: Jacob Danner
>     Priority: Minor
>      Fix For: v.next

>
> If an invalid value is used in a ControlReferences annotation an assertion error is throw
during apt processing.  Should report error in a compiler friendly manner.
> For example:
> @ControlReferences(value={java.lang.String.class})
> causes:
> java.lang.AssertionError
>     at org.apache.beehive.controls.runtime.generator.apt.ControlClientAnnotationProcessor.getControlInterfaceOrExtension(ControlClientAnnotationProcessor.java:520)
>     at org.apache.beehive.controls.runtime.generator.apt.ControlClientAnnotationProcessor.generate(ControlClientAnnotationProcessor.java:221)
>     at org.apache.beehive.controls.runtime.generator.apt.TwoPhaseAnnotationProcessor.process(TwoPhaseAnnotationProcessor.java:90)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message