[
https://issues.apache.org/jira/browse/FELIX-3399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13566120#comment-13566120
]
Felix Meschberger commented on FELIX-3399:
------------------------------------------
The problem in the test package probably is that the TestX.Inner class has
package scope while the Test class is in a different package. So the
TestX.Inner class is not visible to the Test class. If the TestX.Inner class is
public, it actually works.
> Configuration Printers which do not implement the ConfigurationPrinter
> interface cannot be defined in inner classes
> -------------------------------------------------------------------------------------------------------------------
>
> Key: FELIX-3399
> URL: https://issues.apache.org/jira/browse/FELIX-3399
> Project: Felix
> Issue Type: Bug
> Components: Web Console
> Affects Versions: webconsole-3.1.8
> Reporter: Justin Edelson
> Attachments: testpkg.zip
>
>
> FELIX-2649 added support for Configuration Printers which do not explicitly
> implement the ConfigurationPrinter interface. However, I've discovered that
> if the Configuration Printer service is defined as an inner class, this does
> not work. The printer is displayed in the Configuration Status plugin with
> the correct title, but the content is not rendered (and the
> printConfiguration method is never invoked). No error message is logged.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira