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

compiler crash on the remainder operation with an array dividend

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_2.4

      Description



      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).

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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: