new DeviceMgmtPermission("*:*",",open,register,unregister,") does not result in IAE

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • None
    • Affects Version/s: 1.0.1
    • Component/s: embedded
    • dio
    • generic
    • generic

      public DeviceMgmtPermission(java.lang.String name,
                          java.lang.String actions)
      ...
      Parameters:
      ...
      actions - comma-separated list of device management operations: register unregister or open.
      Throws:
      ...
      java.lang.IllegalArgumentException - if actions is null, empty or contains an action other than the specified possible actions.
      ==================

      A call to

      new DeviceMgmtPermission("*:*",",open,register,unregister,")


      does not result in IAE, i.e. empty action is let in from viewpoint of API.

            Assignee:
            Boris Kvartskhava
            Reporter:
            Boris Kvartskhava
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: