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

compiler crash on the remainder operation with an array dividend

XMLWordPrintable

    • sparc
    • solaris_2.4



      Name: swC45995 Date: 01/28/97


      Compilation of the source file:

      public class test
      {
      public static void main(String argv[])
      {
      int [] a = {1, 2, 3};

      a = a % 3;
      }
      }

      results in the compiler crash instead of producing proper error message
      (an array can not be an operand of the remainder operator).

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

            tturnidgsunw Todd Turnidge (Inactive)
            wensunw Wen Wen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: