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

JDI spec: spec for global RuntimeExceptions inconsistent - centralize it

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.3.1, 1.4.0
    • core-svc
    • beta2
    • generic, x86, sparc
    • generic, linux, solaris, solaris_7, solaris_8, solaris_9, windows_nt
    • Not verified

      Two problems --

      First, the following RuntimeExceptions are spec'ed to be thrown in only
      some of the places where they can be:

        ObjectCollectedException
        VMDisconnectedException
        VMMismatchException
        VMOutOfMemoryException
        NullPointerException

      Spec should be consistent.

      Second, some exceptions (specifically, ObjectCollectedException
      and VMDisconnectedException) are not always thrown by methods which
      are spec'ed to throw them. Exception is not thrown because no
      interaction with target VM is needed (e.g., info is cached).
      They should be specified that the exception "may" be thrown.

            jhosunw Jamie Ho (Inactive)
            rfield Robert Field (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: