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

VM throws wrong exception with -Xcomp switch turned on

XMLWordPrintable

    • sol-beta
    • generic
    • solaris_7


      michael.parks@eng 2000-04-17

      verified on Intel only.

      If attempting to access an element of
      an uninitialized array using a negative index,
      the VM throws an ArrayIndexOutOfBoundException
      instead of a NullPointerException.

      The error occurs with java switch "-Xcomp" turned on,
      and does not arise if "-Xcomp" is omitted.


            sgoldman Steve Goldman (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: