commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mladen Turk (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (DAEMON-128) Default DaemonController implementation has empty fail() method bodies
Date Mon, 15 Mar 2010 09:23:30 GMT

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

Mladen Turk resolved DAEMON-128.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.2

Fixed with the 1.0.3
The fail calls native method that logs provided message and or exception and behaves like
shutdown.


> Default DaemonController implementation has empty fail() method bodies
> ----------------------------------------------------------------------
>
>                 Key: DAEMON-128
>                 URL: https://issues.apache.org/jira/browse/DAEMON-128
>             Project: Commons Daemon
>          Issue Type: Improvement
>    Affects Versions: 1.0.1
>         Environment: Fedora Core 10
>            Reporter: David North
>            Priority: Minor
>             Fix For: 1.0.2
>
>
> As per http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/java/org/apache/commons/daemon/support/DaemonLoader.java?revision=560660,
the fail() methods on the default (and only provided) implementation of the DaemonController
interface have empty bodies. This means that calling them does nothing and returns normally,
which is the complete opposite of the desired behaviour.
> Please either make these throw UnsupportedOpperationException and document them appropriately,
or better yet, actually implement them.

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


Mime
View raw message