Shevek created DIRSERVER-1930:
---------------------------------
Summary: DhcpOptions not extensible
Key: DIRSERVER-1930
URL: https://issues.apache.org/jira/browse/DIRSERVER-1930
Project: Directory ApacheDS
Issue Type: Bug
Components: dhcp
Reporter: Shevek
It is impossible to add my own DhcpOption types, due to the fixed and private
static encapsulation in DhcpOption. Also, the option set isn't even complete
enough for practical use.
This method:
public static int getTagByClass( Class c )
{
return ( ( Integer ) CODE_BY_CLASS.get( c ) ).intValue();
}
will NPE given an option class which isn't privately registered.
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)