[ 
https://issues.apache.org/jira/browse/DIRSERVER-1930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13847495#comment-13847495
 ] 

Shevek commented on DIRSERVER-1930:
-----------------------------------

Good news is I have clearance from work to release our patched code. :-)

> 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)

Reply via email to