iPOJO manipulator badly supports custom annotation attributes of type Class
---------------------------------------------------------------------------

                 Key: FELIX-2779
                 URL: https://issues.apache.org/jira/browse/FELIX-2779
             Project: Felix
          Issue Type: Bug
          Components: iPOJO
    Affects Versions: iPOJO-1.6.0
            Reporter: Pierre Bourret
            Priority: Minor


I've written a custom handler and its corresponding annotation :
   public @interface Portlet {
      ...
      Class<? extends PortletPresentation> portletClass();
      ...
   }

Then I've defined a component using this annotation :
   @Component
   @Portlet(..., portletClass=DummyComponentPortletImpl.class)
   public class DummyComponentImpl {
      ...
   }

The problem is that the metadata computed by the manipulator doesn't hold the 
right value for the portletClass attribute :
I got "Lfr/liglab/adele/icasa/portal/impl/test/DummyComponentPortletImpl;" 
instead of "fr.liglab.adele.icasa.portal.impl.test.DummyComponentPortletImpl".

Despite it is still possible to deduce the original class name from this 
strange string, isn't the attribute value supposed to contain the real class 
name instead of a Java internal type name ?

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

Reply via email to