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

java.lang.InternalError while executing astore_w 0x8000.

XMLWordPrintable

    • 1.2alpha
    • sparc
    • solaris_2.4
    • Not verified



      Name: laC46010 Date: 03/19/97



      The JDK 1.1.1 on sparc/Solaris and on win32
      throws java.lang.InternalError while executing following program:

      --------------------- wide00201.jasm
      package javasoft/sqe/tests/vm/wide/wide002/wide00201;

      public class wide00201 {

      public static Method run:"([Ljava/lang/String;Ljava/io/PrintStream;)I"
      stack 2 locals 32770 // 0x8002
      {
      iconst_5;
              newarray int;
              dup;
      astore_w 0x8000;
      aload_w 0x8000;
      if_acmpeq L13;
      iconst_2;
      ireturn;
      L13: iconst_0;
      ireturn;
      }

      public static Method main:"([Ljava/lang/String;)V"
      stack 2 locals 1
      {
      aload_0;
      getstatic Field java/lang/System.out:"Ljava/io/PrintStream;";
      invokestatic Method run:"([Ljava/lang/String;Ljava/io/PrintStream;)I";
      bipush 95/*STATUS_TEMP*/;
      iadd;
      invokestatic Method java/lang/System.exit:"(I)V";
      return;
      }

      }
      --------------------------
      The arguments of astore_w and aload_w instructions are big but valid.
      JDK 1.0.2 and JDK 1.1 execute this test normally.


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

            sliangsunw Sheng Liang (Inactive)
            leosunw Leo Leo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: