[
https://issues.apache.org/jira/browse/DIRSERVER-1930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13846230#comment-13846230
]
Shevek commented on DIRSERVER-1930:
-----------------------------------
I've been very tempted. How would the development process work? I don't
understand the role of DHCP inside apacheds, other than that, having now
written a DHCP/PXE server using it, it's clear that it hasn't been used or
tested - so does it actually have a role in apacheds? What are your
recommendations?
> 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)