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

A nonfatal internal JIT error "LD: null preHeader"

XMLWordPrintable



      Name: tb29552 Date: 10/27/98


      //1. lines 29 to 41
      //2. Source code:
      import java.io.*;
      class Main1 {
          public static void outputMessage() {
              System.out.println("java.version = " +
                                 System.getProperty("java.version"));
              System.out.println("Operating System Name = " +
                                 System.getProperty("os.name"));
              System.out.println("Operating system architecture = " +
                                 System.getProperty("os.arch"));
              System.out.println("Operating system version = " +
                                 System.getProperty("os.version") + "\n");
          }

          public static void main(String[] args) {
              FileInputStream file_in;
              DataInputStream data_in;
              int nop = 0, noi = 3, noo = 1;
              double[][] i_pattern = new double[150][3];
              double[][] t_pattern = new double[150][1];
              outputMessage();
              try {
                  file_in = new FileInputStream("test.dat");
                  data_in = new DataInputStream(file_in);
                  nop = data_in.readInt();
                  System.out.println("nop=" + nop);

                  for (int i = 0; i < nop - 1; i++) {
                      for (int j = 0; j < noi; j++) {
                          i_pattern[i][j] = data_in.readDouble();
                      }
                      for (int k = 0; k < noo; k++) {
                          t_pattern[i][k] = data_in.readDouble();
                      }
                  }
              }
              catch(IOException e) {
                  System.out.println(e);
              }

              for (int i = 0; i < nop; i = i + 5) {
                  while (i_pattern[i][0] > 22.0) {
                      System.out.println("less than min. larger than 20 are: " +
                                         i);
                      break;
                  }
                  // while (i_pattern[i][0]<22.0)
                  // {
                  // System.out.println(" min. smaller than 20 are: "+i);
                  // break;
                  // }
              }

              for (int i = 0; i < 5; i++) {
                  System.out.println(i_pattern[i][0] + " " +
                                     i_pattern[i][1] + " " +
                                     i_pattern[i][2] + " " +
                                     t_pattern[i][0]);
              }
          }
      }

      /*
      3. A nonfatal internal JIT (3.00.072b(x)) error:
         'LD: null preHeader' has occured in Main1
         ([Ljava/lang/String;)V': Interpreting method.
      */

      (Review ID: 41243)
      ======================================================================

            Unassigned Unassigned
            tbell Tim Bell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: