[jboss-jira] [JBoss JIRA] Assigned: (EJBTHREE-1078) EJB3InterceptorsFactory.createPerJoinpoint() should log String representation of Array, not Array reference

Galder Zamarreno (JIRA) jira-events at lists.jboss.org
Wed Oct 24 13:48:02 EDT 2007


     [ http://jira.jboss.com/jira/browse/EJBTHREE-1078?page=all ]

Galder Zamarreno reassigned EJBTHREE-1078:
------------------------------------------

    Assignee: Carlo de Wolf

> EJB3InterceptorsFactory.createPerJoinpoint() should log String representation of Array, not Array reference
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: EJBTHREE-1078
>                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-1078
>             Project: EJB 3.0
>          Issue Type: Bug
>    Affects Versions: AS 5.0.0.Beta3, AS 4.2.2.GA
>            Reporter: Galder Zamarreno
>         Assigned To: Carlo de Wolf
>
> EJB3InterceptorsFactory.createPerJoinpoint()
> InterceptorInfo[] infos = container.getInterceptorRepository().getBusinessInterceptors(container, method);
> ...
> log.debug("Bound interceptors for joinpoint: " + method + " - " + infos);
> The log message is meaningless. It will print an array reference.
> This should be instead:
> log.debug("Bound interceptors for joinpoint: " + method + " - " + Arrays.toString(infos));
> InterceptorInfo implements toString()

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

        



More information about the jboss-jira mailing list