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

JDI spec: Throwing of IllegalArgumentException is invalid

XMLWordPrintable

    • mantis
    • generic
    • generic
    • Verified



      Name: vpR10197 Date: 10/18/2002



      The specifications of EventQueue.remove(long) and EventRequest.setSuspendPolicy(int)
      say nothing about IllegalArgumentException.
      Nevertheless, this exception is thrown, when arguments contain illegal values.
      The following tests from testbase_nsk
            nsk/jdi/EventQueue/remove_l/remove_l005
            nsk/jdi/EventRequest/_bounds_/eventrequest001
      as before assume that throwing of IllegalArgumentException is invalid.
      I offer to add the next line:
          "IllegalArgumentException - if the argument contains illegal values"
      for EventQueue.remove(long) and EventRequest.setSuspendPolicy(int), as
      it has been done for EventRequestManager.createStepRequest (see bug #4680739).

      ======================================================================

            duke J. Duke
            vitpsunw Vitp Vitp (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: