Henry Kuijpers created SLING-10341:
--------------------------------------

             Summary: ConfigurationProxy.DynamicProxyInvocationHandler should 
fill in toString() with useful value
                 Key: SLING-10341
                 URL: https://issues.apache.org/jira/browse/SLING-10341
             Project: Sling
          Issue Type: Bug
    Affects Versions: Context-Aware Configuration Impl 1.5.0
            Reporter: Henry Kuijpers


When debugging the proxies that are created by ConfigurationProxy.get() (of 
type DynamicProxyInvocationHandler), when viewing those proxies in the IntelliJ 
debug view, we see "null" being printed. This is due to the proxies not having 
a toString() method. By default, it will then return null.

We should specify a useful toString()-method, so that debugging is less 
confusing.

We could at least specify the name of the configuration that that proxy 
represents. It would be nice to also include the properties with values 
probably, but I think having the name of the configuration is already very nice.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to