Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8075668

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • None
    • 1.0.1
    • embedded
    • dio
    • generic
    • generic

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: