Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-1930

DhcpOptions not extensible

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • dhcp
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            arren Shevek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: