You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Igor Drobiazko (JIRA)" <ji...@apache.org> on 2010/02/12 10:20:31 UTC

[jira] Created: (TAP5-1014) Message about missing or wrong retention policy of a marker annotation is misleading

Message about missing or wrong retention policy of a marker annotation is misleading
------------------------------------------------------------------------------------

                 Key: TAP5-1014
                 URL: https://issues.apache.org/jira/browse/TAP5-1014
             Project: Tapestry 5
          Issue Type: Improvement
          Components: tapestry-ioc
    Affects Versions: 5.1.0.5
            Reporter: Igor Drobiazko
            Priority: Minor


Using another renetion policy policy than RUNTIME for a marker annotation leads to the following exception

Caused by: java.lang.IllegalArgumentException: Marker annotation class org.example.Blue is not valid because it is not visible at runtime. Add a @RetentionPolicy(RUNTIME) to the class.
	at org.apache.tapestry5.ioc.internal.util.InternalUtils.validateMarkerAnnotation(InternalUtils.java:698)
	at org.apache.tapestry5.ioc.internal.util.InternalUtils.validateMarkerAnnotations(InternalUtils.java:703)
	at org.apache.tapestry5.ioc.internal.ServiceBinderImpl.withMarker(ServiceBinderImpl.java:292)


A proper mesage is: 

Add a @Retention(RetentionPolicy.RUNTIME) to the class.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (TAP5-1014) Message about missing or wrong retention policy of a marker annotation is misleading

Posted by "Igor Drobiazko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Drobiazko closed TAP5-1014.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 5.2.0

> Message about missing or wrong retention policy of a marker annotation is misleading
> ------------------------------------------------------------------------------------
>
>                 Key: TAP5-1014
>                 URL: https://issues.apache.org/jira/browse/TAP5-1014
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-ioc
>    Affects Versions: 5.1.0.5
>            Reporter: Igor Drobiazko
>            Assignee: Igor Drobiazko
>            Priority: Minor
>             Fix For: 5.2.0
>
>
> Using another renetion policy policy than RUNTIME for a marker annotation leads to the following exception
> Caused by: java.lang.IllegalArgumentException: Marker annotation class org.example.Blue is not valid because it is not visible at runtime. Add a @RetentionPolicy(RUNTIME) to the class.
> 	at org.apache.tapestry5.ioc.internal.util.InternalUtils.validateMarkerAnnotation(InternalUtils.java:698)
> 	at org.apache.tapestry5.ioc.internal.util.InternalUtils.validateMarkerAnnotations(InternalUtils.java:703)
> 	at org.apache.tapestry5.ioc.internal.ServiceBinderImpl.withMarker(ServiceBinderImpl.java:292)
> A proper mesage is: 
> Add a @Retention(RetentionPolicy.RUNTIME) to the class.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (TAP5-1014) Message about missing or wrong retention policy of a marker annotation is misleading

Posted by "Igor Drobiazko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Drobiazko closed TAP5-1014.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 5.2.0

> Message about missing or wrong retention policy of a marker annotation is misleading
> ------------------------------------------------------------------------------------
>
>                 Key: TAP5-1014
>                 URL: https://issues.apache.org/jira/browse/TAP5-1014
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-ioc
>    Affects Versions: 5.1.0.5
>            Reporter: Igor Drobiazko
>            Assignee: Igor Drobiazko
>            Priority: Minor
>             Fix For: 5.2.0
>
>
> Using another renetion policy policy than RUNTIME for a marker annotation leads to the following exception
> Caused by: java.lang.IllegalArgumentException: Marker annotation class org.example.Blue is not valid because it is not visible at runtime. Add a @RetentionPolicy(RUNTIME) to the class.
> 	at org.apache.tapestry5.ioc.internal.util.InternalUtils.validateMarkerAnnotation(InternalUtils.java:698)
> 	at org.apache.tapestry5.ioc.internal.util.InternalUtils.validateMarkerAnnotations(InternalUtils.java:703)
> 	at org.apache.tapestry5.ioc.internal.ServiceBinderImpl.withMarker(ServiceBinderImpl.java:292)
> A proper mesage is: 
> Add a @Retention(RetentionPolicy.RUNTIME) to the class.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (TAP5-1014) Message about missing or wrong retention policy of a marker annotation is misleading

Posted by "Igor Drobiazko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Drobiazko reassigned TAP5-1014:
------------------------------------

    Assignee: Igor Drobiazko

> Message about missing or wrong retention policy of a marker annotation is misleading
> ------------------------------------------------------------------------------------
>
>                 Key: TAP5-1014
>                 URL: https://issues.apache.org/jira/browse/TAP5-1014
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-ioc
>    Affects Versions: 5.1.0.5
>            Reporter: Igor Drobiazko
>            Assignee: Igor Drobiazko
>            Priority: Minor
>
> Using another renetion policy policy than RUNTIME for a marker annotation leads to the following exception
> Caused by: java.lang.IllegalArgumentException: Marker annotation class org.example.Blue is not valid because it is not visible at runtime. Add a @RetentionPolicy(RUNTIME) to the class.
> 	at org.apache.tapestry5.ioc.internal.util.InternalUtils.validateMarkerAnnotation(InternalUtils.java:698)
> 	at org.apache.tapestry5.ioc.internal.util.InternalUtils.validateMarkerAnnotations(InternalUtils.java:703)
> 	at org.apache.tapestry5.ioc.internal.ServiceBinderImpl.withMarker(ServiceBinderImpl.java:292)
> A proper mesage is: 
> Add a @Retention(RetentionPolicy.RUNTIME) to the class.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (TAP5-1014) Message about missing or wrong retention policy of a marker annotation is misleading

Posted by "Igor Drobiazko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Drobiazko reassigned TAP5-1014:
------------------------------------

    Assignee: Igor Drobiazko

> Message about missing or wrong retention policy of a marker annotation is misleading
> ------------------------------------------------------------------------------------
>
>                 Key: TAP5-1014
>                 URL: https://issues.apache.org/jira/browse/TAP5-1014
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-ioc
>    Affects Versions: 5.1.0.5
>            Reporter: Igor Drobiazko
>            Assignee: Igor Drobiazko
>            Priority: Minor
>
> Using another renetion policy policy than RUNTIME for a marker annotation leads to the following exception
> Caused by: java.lang.IllegalArgumentException: Marker annotation class org.example.Blue is not valid because it is not visible at runtime. Add a @RetentionPolicy(RUNTIME) to the class.
> 	at org.apache.tapestry5.ioc.internal.util.InternalUtils.validateMarkerAnnotation(InternalUtils.java:698)
> 	at org.apache.tapestry5.ioc.internal.util.InternalUtils.validateMarkerAnnotations(InternalUtils.java:703)
> 	at org.apache.tapestry5.ioc.internal.ServiceBinderImpl.withMarker(ServiceBinderImpl.java:292)
> A proper mesage is: 
> Add a @Retention(RetentionPolicy.RUNTIME) to the class.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.