[ 
https://issues.apache.org/jira/browse/DAEMON-199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tom Dyas closed DAEMON-199.
---------------------------

    Resolution: Won't Fix

> DaemonWrapper fails when the wrapped class does not have a (or restricts the 
> visibility of its) no-argument constructor
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: DAEMON-199
>                 URL: https://issues.apache.org/jira/browse/DAEMON-199
>             Project: Commons Daemon
>          Issue Type: Bug
>    Affects Versions: 1.0.5
>            Reporter: Tom Dyas
>         Attachments: commons-daemon.patch
>
>
> When using DaemonWrapper to wrap an existing Java class, DaemonWrapper 
> assumes that it can instantiate the class using a no-argument constructor. I 
> tried to use DaemonWrapper to wrap a bootstrap class that declared the 
> no-argument constructor as private. The wrapped class had a static main 
> method and so could be used by the ordinary Java bootstrap procedure. The 
> attached patch fixes the issue.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to