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

A nonfatal internal JIT (3.00.072b(x)) error 'regvar' has occurred

XMLWordPrintable

    • generic, x86
    • generic, windows_95, windows_98, windows_nt

       210));
      textField5.setVisible(true);
      textField5.setBackground(new java.awt.Color(255, 255, 255));
      textField5.setFont(new java.awt.Font("Dialog", 1, 14));
      textField5.setSize(new java.awt.Dimension(70, 23));
      textField5.setEditable(false);

      label6.setText("Hand Held Pump Pressure (psig) =");
      label6.setLocation(new java.awt.Point(10, 240));
      label6.setAlignment(Label.CENTER);
      label6.setVisible(true);
      label6.setBackground(new java.awt.Color(255, 200, 0));
      label6.setFont(new java.awt.Font("Dialog", 1, 14));
      label6.setSize(new java.awt.Dimension(240, 23));

      textField6.setText("60");
      textField6.setLocation(new java.awt.Point(260, 240));
      textField6.setVisible(true);
      textField6.setBackground(new java.awt.Color(255, 255, 255));
      textField6.setFont(new java.awt.Font("Dialog", 1, 14));
      textField6.setSize(new java.awt.Dimension(70, 23));

      textField7.setText("0.05");
      textField7.setLocation(new java.awt.Point(260, 270));
      textField7.setVisible(true);
      textField7.setBackground(new java.awt.Color(255, 255, 255));
      textField7.setFont(new java.awt.Font("Dialog", 1, 14));
      textField7.setSize(new java.awt.Dimension(70, 23));

      label7.setText("Rocket's Mass (kg) =");
      label7.setLocation(new java.awt.Point(10, 270));
      label7.setAlignment(Label.CENTER);
      label7.setVisible(true);
      label7.setBackground(new java.awt.Color(255, 200, 0));
      label7.setFont(new java.awt.Font("Dialog", 1, 14));
      label7.setSize(new java.awt.Dimension(240, 23));

      textField8.setLocation(new java.awt.Point(270, 380));
      textField8.setVisible(false);
      textField8.setBackground(new java.awt.Color(255, 255, 255));
      textField8.setFont(new java.awt.Font("Dialog", 1, 14));
      textField8.setSize(new java.awt.Dimension(70, 30));
      textField8.setEditable(false);

      label8.setText("Optimum % Water Volume =");
      label8.setLocation(new java.awt.Point(20, 380));
      label8.setAlignment(Label.CENTER);
      label8.setVisible(false);
      label8.setBackground(new java.awt.Color(255, 255, 0));
      label8.setFont(new java.awt.Font("Dialog", 3, 14));
      label8.setSize(new java.awt.Dimension(200, 30));

      button1.setLocation(new java.awt.Point(30, 340));
      button1.setLabel("Run Simulation (Click)");
      button1.setVisible(true);
      button1.setFont(new java.awt.Font("Dialog", 1, 14));
      button1.setSize(new java.awt.Dimension(170, 23));

      label9.setText("Please Wait");
      label9.setLocation(new java.awt.Point(250, 340));
      label9.setAlignment(Label.CENTER);
      label9.setVisible(false);
      label9.setBackground(new java.awt.Color(255, 0, 0));
      label9.setFont(new java.awt.Font("Dialog", 1, 14));
      label9.setSize(new java.awt.Dimension(104, 23));

      label10.setText("Burnout Speed (m/s) =");
      label10.setLocation(new java.awt.Point(20, 470));
      label10.setAlignment(Label.CENTER);
      label10.setVisible(false);
      label10.setBackground(new java.awt.Color(255, 255, 0));
      label10.setFont(new java.awt.Font("Dialog", 3, 14));
      label10.setSize(new java.awt.Dimension(200, 23));

      textField9.setLocation(new java.awt.Point(270, 460));
      textField9.setVisible(false);
      textField9.setBackground(new java.awt.Color(255, 255, 255));
      textField9.setFont(new java.awt.Font("Dialog", 1, 14));
      textField9.setSize(new java.awt.Dimension(70, 30));
      textField9.setEditable(false);

      label11.setText("WARNING");
      label11.setLocation(new java.awt.Point(30, 540));
      label11.setAlignment(Label.CENTER);
      label11.setVisible(false);
      label11.setBackground(new java.awt.Color(255, 0, 0));
      label11.setFont(new java.awt.Font("Dialog", 3, 18));
      label11.setSize(new java.awt.Dimension(100, 30));

      label12.setLocation(new java.awt.Point(160, 540));
      label12.setAlignment(Label.CENTER);
      label12.setVisible(false);
      label12.setBackground(new java.awt.Color(255, 255, 255));
      label12.setFont(new java.awt.Font("Dialog", 3, 12));
      label12.setSize(new java.awt.Dimension(220, 23));

      label13.setText("Java Applet By Ray Laoulache");
      label13.setLocation(new java.awt.Point(0, 18));
      label13.setAlignment(Label.CENTER);
      label13.setVisible(true);
      label13.setBackground(new java.awt.Color(0, 0, 255));
      label13.setFont(new java.awt.Font("Dialog", 3, 24));
      label13.setSize(new java.awt.Dimension(390, 23));

      label14.setText("UMass Dartmouth");
      label14.setLocation(new java.awt.Point(10, 50));
      label14.setAlignment(Label.CENTER);
      label14.setVisible(true);
      label14.setBackground(new java.awt.Color(0, 0, 255));
      label14.setFont(new java.awt.Font("Dialog", 3, 18));
      label14.setSize(new java.awt.Dimension(370, 23));

      label15.setText("Optimum Water Mass (kg) =");
      label15.setLocation(new java.awt.Point(20, 420));
      label15.setAlignment(Label.CENTER);
      label15.setVisible(false);
      label15.setBackground(new java.awt.Color(255, 255, 0));
      label15.setFont(new java.awt.Font("Dialog", 3, 14));
      label15.setSize(new java.awt.Dimension(200, 30));

      textField10.setLocation(new java.awt.Point(270, 420));
      textField10.setVisible(false);
      textField10.setBackground(new java.awt.Color(255, 255, 255));
      textField10.setFont(new java.awt.Font("Dialog", 1, 14));
      textField10.setSize(new java.awt.Dimension(70, 30));

      setLocation(new java.awt.Point(0, 0));
      setBackground(new java.awt.Color(0, 255, 0));
      setLayout(null);
      setSize(new java.awt.Dimension(397, 601));
      add(textField1);
      add(textField2);
      add(label1);
      add(label2);
      add(label3);
      add(textField3);
      add(label4);
      add(textField4);
      add(label5);
      add(textField5);
      add(label6);
      add(textField6);
      add(textField7);
      add(label7);
      add(textField8);
      add(label8);
      add(button1);
      add(label9);
      add(label10);
      add(textField9);
      add(label11);
      add(label12);
      add(label13);
      add(label14);
      add(label15);
      add(textField10);


      textField2.addTextListener(new java.awt.event.TextListener() {
      public void textValueChanged(java.awt.event.TextEvent
      e) {
      textField2TextValueChanged(e);
      }
      });
      textField3.addTextListener(new java.awt.event.TextListener() {
      public void textValueChanged(java.awt.event.TextEvent
      e) {
      textField3TextValueChanged(e);
      }
      });
      textField3.addKeyListener(new java.awt.event.KeyAdapter() {
      public void keyTyped(java.awt.event.KeyEvent e) {
      textField3KeyTyped(e);
      }
      });
      textField3.addActionListener(new java.awt.event.ActionListener
      () {
      public void actionPerformed(java.awt.event.ActionEvent
      e) {
      textField3ActionPerformed(e);
      }
      });
      textField4.addTextListener(new java.awt.event.TextListener() {
      public void textValueChanged(java.awt.event.TextEvent
      e) {
      textField4TextValueChanged(e);
      }
      });
      textField5.addTextListener(new java.awt.event.TextListener() {
      public void textValueChanged(java.awt.event.TextEvent
      e) {
      textField5TextValueChanged(e);
      }
      });
      textField6.addTextListener(new java.awt.event.TextListener() {
      public void textValueChanged(java.awt.event.TextEvent
      e) {
      textField6TextValueChanged(e);
      }
      });
      textField7.addTextListener(new java.awt.event.TextListener() {
      public void textValueChanged(java.awt.event.TextEvent
      e) {
      textField7TextValueChanged(e);
      }
      });
      button1.addMouseListener(new java.awt.event.MouseAdapter() {
      public void mousePressed(java.awt.event.MouseEvent e) {
      button1MousePressed(e);
      }
      });
      button1.addActionListener(new java.awt.event.ActionListener() {
      public void actionPerformed(java.awt.event.ActionEvent
      e) {
      button1ActionPerformed(e);
      }
      });
      // END GENERATED CODE
      }

         private boolean mShown = false;
        
      public void addNotify()
      {
      super.addNotify();

      if (mShown)
      return;

      // move components to account for insets
      Insets insets = getInsets();
      Component[] components = getComponents();
      for (int i = 0; i < components.length; i++) {
      Point location = components[i].getLocation();
      location.move(location.x, location.y + insets.top);
      components[i].setLocation(location);
      }

      mShown = true;
      }

      // Close the window when the close box is clicked
      void thisWindowClosing(java.awt.event.WindowEvent e)
      {
      setVisible(false);
      //dispose();
      System.exit(0);
      }

      public void textField1TextValueChanged(java.awt.event.TextEvent e)
      {
      }

      public void textField2TextValueChanged(java.awt.event.TextEvent e)
      {
      }

      public void textField7TextValueChanged(java.awt.event.TextEvent e)
      {
      }
      public void textField5TextValueChanged(java.awt.event.TextEvent e)
      {
      }

      public void textField4TextValueChanged(java.awt.event.TextEvent e)
      {
      float Dr;
      TextField input;
      input = new TextField( 10 );
      add( input );
      String Drocket = textField4.getText();
      Dr = Float.valueOf(Drocket).floatValue();
      if (Dr <= 0.0) {
      button1.setEnabled(false);
      label11.setVisible(true);
      label12.setVisible(true);
      label12.setText("Diameter should be > 0");
      }
      else {
      button1.setEnabled(true);
      label11.setVisible(false);
      label12.setVisible(false);
      }
      }

      public void textField3TextValueChanged(java.awt.event.TextEvent e)
      {
      float Vr;
      TextField input;
      input = new TextField( 10 );
      add( input );
      String Vrocket = textField3.getText();
      Vr = Float.valueOf(Vrocket).floatValue();
      if (Vr <= 0.0) {
      button1.setEnabled(false);
      label11.setVisible(true);
      label12.setVisible(true);
      label12.setText("Volume should be > 0");
      }
      else {
      button1.setEnabled(true);
      label11.setVisible(false);
      label12.setVisible(false);
      }
      }

      public void textField6TextValueChanged(java.awt.event.TextEvent e)
      {
      float Po;
      TextField input;
      input = new TextField( 10 );
      add( input );
      String Pump = textField6.getText();
      Po = Float.valueOf(Pump).floatValue();
      if (Po <= 0.0) {
      button1.setEnabled(false);
      label11.setVisible(true);
      label12.setVisible(true);
      label12.setText("Pressure should be > 0");
      }
      else if(Po >100.0) {
      button1.setEnabled(false);
      label11.setVisible(true);
      label12.setVisible(true);
      label12.setText("Excessive Pressure for Launcher");
      }

      else
      {
      button1.setEnabled(true);
      label11.setVisible(false);
      label12.setVisible(false);
      }
      }

      public void textField8TextValueChanged(java.awt.event.TextEvent e)
      {
      }

      public void textField1ActionPerformed(java.awt.event.ActionEvent e)
      {
      }

      public void textField1ComponentShown(java.awt.event.ComponentEvent e)
      {
      }

      public void textField1KeyPressed(java.awt.event.KeyEvent e)
      {
      }

      public void textField8KeyTyped(java.awt.event.KeyEvent e)
      {
      }
      public void button1ActionPerformed(java.awt.event.ActionEvent e)
      {
      button1.setEnabled(true);

      float Po; float Den; float Patm; float Dn; float Vr; float mr;
      double Pratio; double C; float Dr;

      // Fixed Parameters

      String Patmosphere = textField1.getText();
      Patm = Float.valueOf(Patmosphere).floatValue();

      String Density = textField2.getText();
      Den = Float.valueOf(Density).floatValue();

      String Vrocket = textField3.getText();
      Vr = Float.valueOf(Vrocket).floatValue();

      String Drocket = textField4.getText();
      Dr = Float.valueOf(Drocket).floatValue();

      String Dnozzle = textField5.getText();
      Dn = Float.valueOf(Dnozzle).floatValue();

      String Pump = textField6.getText();
      Po = Float.valueOf(Pump).floatValue();

      String Mass = textField7.getText();
      mr = Float.valueOf(Mass).floatValue();

      label9.setVisible(true);
      label9.setText("Please Wait");

      C = 2.0 * ((Po + 14.7)/14.7 * 100000.0) / Den;
      Pratio = Patm / (( Po + 14.7 ) / 14.7 * 100000.0);
      double Dratio = Dn / Dr;
      double CP = 4;
      double Denom = 1.0 - Math.pow( Dratio, CP );

      double vel = 0.0;
      double velold = 0.0;
      double percent = 0.0;
      do {
      percent += 0.5;
      velold = vel;
      vel = 0;
      double Vw = percent * 0.01 * Vr;
      double Vo = Vr - Vw;
      double DeltaVw = Vw / 50000.0;
      while (Vw >= 0.0) {
      Vw -= DeltaVw;
      double u = Math.sqrt( C * ( Math.pow( Vo / ( Vr - Vw ), 1.4 ) -
      Pratio ) / Denom );
      double Deltat = 4.0 * DeltaVw / 1000 / u / Math.PI / Dn / Dn;
      double Deltavel = - 9.81 * Deltat + u * DeltaVw / (Vw + mr);
      vel += Deltavel;
      }
      } while (vel >= velold);
      double mass = (percent - 0.5) / 100 * Vr;
      label8.setVisible(true);
      label10.setVisible(true);
      textField8.setVisible(true);
      textField8.setText(String.valueOf(percent-0.5));
      textField9.setVisible(true);
      double vout = Math.floor((velold * 1000 + 0.5) / 1000);
      textField9.setText(String.valueOf(vout));
      label9.setText("Results");
      label15.setVisible(true);
      textField10.setVisible(true);
      textField10.setText(String.valueOf(mass));
      }

      public void button1MousePressed(java.awt.event.MouseEvent e)
      {
      }

      public void textField3ActionPerformed(java.awt.event.ActionEvent e)
      {
      }

      public void textField3KeyTyped(java.awt.event.KeyEvent e)
      {
      }

      public void button1MouseClicked(java.awt.event.MouseEvent e)
      {
      }


      }
      (Review ID: 98648)
      ======================================================================

      Name: krT82822 Date: 12/18/99


      java version "1.2"
      Classic VM (build JDK-1.2-V, native threads)

      non-fatal error in JIT compile when starting NetBeans

      A nonfatal internal JIT (3.00.078(x)) error 'regvar' has occurred in :
        'com/netbeans/developer/base/filesystems/jar/JarFileSystem.getManifest
      ()Lcom/
      netbeans/developer/base/filesystems/jar/JarManifest;': Interpreting method.
        Please report this error in detail to
      http://java.sun.com/cgi-bin/bugreport.cg
      (Review ID: 99184)
      ======================================================================


      Name: zl72593 Date: 01/28/99


      Step: Start up of the IDE: NetBeans

      Message:
      Product Version = NetBeans Developer 2.0.1, Build 154
        Operating System = Windows 95 Version 4.0 Running on x86
        Java VM Version = 1.1.7B
        Java Vendor = Sun Microsystems Inc.
        Java Vendor URL = http://www.sun.com/
        Java Home = D:\DEVELOP\JDK117B\BIN\..
        Java Class Version = 45.3
        JIT = Symantec, v 3.00.072b(x) for JDK 1.1.x
        Home Dir = D:\DEVELOP\JDK117B\BIN\..
        Current Directory = D:\Develop\NetBeans
        NetBeans Home = D:\DEVELOP\NETBEANS
        NetBeans User Home = D:\DEVELOP\NETBEANS
        System Directory = D:\DEVELOP\NETBEANS\system
        CLASSPATH = D:\DEVELOP\NETBEANS\lib\swing103patch.zip;D:\DEVELOP\NETB
      EANS\lib\developer.zip;D:\DEVELOP\NETBEANS\lib;D:\DEVELOP\NETBEANS\lib\HotJavaBe
      an.jar;D:\DEVELOP\NETBEANS\lib\TextBean.jar;D:\DEVELOP\NETBEANS\lib\swingall.jar
      ;D:\DEVELOP\JDK117B\lib\classes.zip;
      -------------------------------------------------------------------------------
      A nonfatal internal JIT (3.00.072b(x)) error 'regvar' has occurred in :
      'com/netbeans/developer/base/filesystems/jar/JarFileSystem.
      getManifest()Lcom/netbeans/developer/base/filesystems/jar/JarManifest;':
      Interpreting method.

      Please report this error in detail to:
      http://java.sun.com/cgi-bin/bugreport.cgi

      So that's what I did.
      (Review ID: 53366)
      ======================================================================

      Name: skT88420 Date: 05/04/99


      Java version 1.1.8

      Error Message:
      security proprties not found. using defaults.
      A nonfatal internal JIT (3.00.072b(x)) error 'regvar' has occurred in :
        'com/netbeans/developer/base/filesystems/jar/JarFileSystem.getManifest ()/Lcom/netbeans/develops/base/filesystems/jar/Jarmanifest;': Interpreting method.

      While during the first time run of NetBeans 2.1.
      (Review ID: 57823)
      ======================================================================

      Name: skT88420 Date: 06/16/99


      Install the JDK 1.1.8 first. Then install NetBeans 2.07.
      After this is done, which goes very smoothly, when I run NetBeans I get the following error in a DOS box....


      A nonfatal internal JIT (3.00.072b(x)) error 'regvar' has occurred in :
        'com/netbeans/developer/base/filesystems/jar/JarFileSystem.getManifest ()Lcom/
      netbeans/developer/base/filesystems/jar/JarManifest;': Interpreting method.
        Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
      i

      An error occured during IDE initialization:
      java.lang.ClassCastException: com.netbeans.developer.top.execution.TaskToolkit
              at sun.awt.windows.WToolkit.getWToolkit(WToolkit.java:419)
              at sun.awt.windows.WDialogPeer.show(WDialogPeer.java:63)
              at java.awt.Dialog.show(Dialog.java:219)
              at com.netbeans.developer.top.TipsOnStartup.show(TipsOnStartup.java:171)

              at com.netbeans.developer.top.CoronaTopManager.showTipsOfTheDay(CoronaTo
      pManager.java:442)
              at com.netbeans.developer.top.CoronaTopManager$21.run(CoronaTopManager.j
      ava:1191)
              at com.netbeans.developer.top.CoronaTopManager.initialize(CoronaTopManag
      er.java:1451)
              at com.netbeans.developer.top.CoronaTopManager.main(CoronaTopManager.jav
      a:1183)
              at com.netbeans.developer.top.TopThreadGroup$TopThread.run(TopThreadGrou
      p.java:97)





      The output of "Java -version" = java version 1.1.8
      The output of "java -fullversion" = java full version "JDK1.1.8M"

      I am running a hybrid system, Intel PII350, 64MB DRAM, Crystal Audio card, ATI RAGEIIC Video card, and can think of nothing out of the ordinary that could cause this crash.
      I have a Logitech Quickcam with Video codecs installed and that's about as far as my system has been modified.
      Windows version 95 (A I assume as there is no B beside the "Help | about Windows95" information in Windows explorer)
      (Review ID: 84387)
      ======================================================================

      Name: krT82822 Date: 07/08/99


      A nonfatal internal JIT (3.00.078(x)) error 'regvar' has occurred in :
        'sun/tools/tree/FieldExpression.checkCommon (Lsun/tools/java/Environment;Lsun/tools/tree/Context;L
      sun/tools/tree/Vset;Ljava/util/Hashtable;Lsun/tools/tree/UnaryExpression;Z)Lsun/tools/tree/Vset;': I
      nterpreting method.
      (Review ID: 85354)
      ======================================================================

      Name: skT88420 Date: 07/28/99


      Operating System = Windows NT Version 4.0 Running on x86
        Java VM Version = 1.1.8
        Java Vendor = Sun Microsystems Inc.
        Java Vendor URL = http://www.sun.com/
        Java Home = C:\jdk1.1.8
        Java Class Version = 45.3
        JIT = Symantec, version 3.00.072b(x) for JDK 1.1.x
        Home Dir = P: Current Directory = C:\Program Files\NetBeans\Developer21
        NetBeans Home = C:\PROGRA~1\NetBeans\DEVELO~1
        NetBeans User Home = C:\PROGRA~1\NetBeans\DEVELO~1
        System Directory = C:\PROGRA~1\NetBeans\DEVELO~1\system
        CLASSPATH = C:\PROGRA~1\NetBeans\DEVELO~1\lib\developer.zip;C:\PROGRA
      ~1\NetBeans\DEVELO~1\lib;C:\PROGRA~1\NetBeans\DEVELO~1\lib\HotJavaBean.jar;C:\PR
      OGRA~1\NetBeans\DEVELO~1\lib\TextBean.jar;C:\PROGRA~1\NetBeans\DEVELO~1\lib\swin
      g11patch.zip;C:\PROGRA~1\NetBeans\DEVELO~1\lib\swingall.jar;C:\JDK11~1.8\lib\cla
      sses.zip
      -------------------------------------------------------------------------------
      A nonfatal internal JIT (3.00.072b(x)) error 'regvar' has occurred in :
        'com/netbeans/developer/base/filesystems/jar/JarFileSystem.getManifest ()Lcom/
      netbeans/developer/base/filesystems/jar/JarManifest;': Interpreting method.
        Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
      i
      (Review ID: 93176)
      ======================================================================

      Name: skT88420 Date: 08/30/99


      A nonfatal internal JIT (3.00.072b(x)) error 'regvar' has occurred in :
        'com/netbeans/developer/base/filesystems/jar/JarFileSystem.getManifest ()Lcom/
      netbeans/developer/base/filesystems/jar/JarManifest;': Interpreting method.
        Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
      i

      An error occured during IDE initialization:
      java.lang.ClassCastException: com.netbeans.developer.top.execution.TaskToolkit
              at sun.awt.windows.WToolkit.getWToolkit(WToolkit.java:419)
              at sun.awt.windows.WDialogPeer.show(WDialogPeer.java:63)
              at java.awt.Dialog.show(Dialog.java:219)
              at com.netbeans.developer.top.TipsOnStartup.show(TipsOnStartup.java:171)

              at com.netbeans.developer.top.CoronaTopManager.showTipsOfTheDay(CoronaTo
      pManager.java:442)
              at com.netbeans.developer.top.CoronaTopManager$21.run(CoronaTopManager.j
      ava:1191)
              at com.netbeans.developer.top.CoronaTopManager.initialize(CoronaTopManag
      er.java:1451)
              at com.netbeans.developer.top.CoronaTopManager.main(CoronaTopManager.jav
      a:1183)
              at com.netbeans.developer.top.TopThreadGroup$TopThread.run(TopThreadGrou
      p.java:97)
      Exception occurred during event dispatching:
      java.lang.NullPointerException: invalid peer
              at sun.awt.windows.WWindowPeer$FocusOnActivate.dispatch(WWindowPeer.java
      :130)
              at java.awt.EventDispatchThread.run(Compiled Code)
      (Review ID: 94616)
      ======================================================================

      Name: krT82822 Date: 12/03/99


      C:\activeviewer>./jre/1.1/bin/jre -version
      Illegal option: -version
      Java(tm) Runtime Loader Version 1.1.7B
      Usage: jre [-options] classname [arguments]
      Options:
          -?, -help print out this message
          -v, -verbose turn on verbose mode
          -verbosegc print a message when garbage collection occurs
          -noasyncgc disable asynchronous garbage collection
          -noclassgc disable class garbage collection
          -ss<number> set the maximum native stack size for any thread
          -oss<number> set the maximum Java stack size for any thread
          -ms<number> set the initial Java heap size
          -mx<number> set the maximum Java heap size
          -D<name>=<value> set a system property
          -classpath <path> set class path to <path>
          -cp <path> prepend <path> to base class path
          -verify verify all classes when loaded
          -verifyremote verify classes loaded from the network (default)
          -noverify do not verify any classes
          -nojit disable JIT compiler

      A nonfatal internal JIT (3.00.072b(x)) error 'regvar' has occurred in :
        'com/swissbank/eqy/hog/core/HOG_LocalNotifier.consumeBusinessEvent (LCOM/activ
      esw/aweb/client/BrokerEvent;J)V': Interpreting method.
        Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
      i

      The error above was reported when I was investigating the mysterious resetting
      of a boolean.

      public syncronized doIt() {
          boolean consumed = false;
          while (!consumed){
              try {
                  <perform operation which succeeds and doesnt throw exception>
                  consumed = true;
                  <log success and status of consumed>
              }
              catch (Exception ex) {
                  <log failure>
              }
              <log status of consumed>
          }
      }

      A code segment like the one shown above was executed and went into a loop
      repeatedly logging success.
      A log was added after the catch and it showed that the boolean consumed had been
      reset to false.
      (Review ID: 98586)
      ======================================================================

      Name: krT82822 Date: 12/04/99


      A nonfatal internal JIT (3.00.072b(x)) error 'regvar' has occurred in :
        'R/Rocket.button1ActionPerformed (Ljava/awt/event/ActionEvent;)V': Interpretin
      g method.
        Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
      i



      /*
      Rocket.java

      Author: RLaoulache
      Description:
      */

      package R;

      import java.awt.*;
      import java.awt.event.*;
      import java.applet.*;

      public class Rocket extends Applet
      {

      // BEGIN GENERATED CODE
      // member declarations
      java.awt.TextField textField1 = new java.awt.TextField();
      java.awt.TextField textField2 = new java.awt.TextField();
      java.awt.Label label1 = new java.awt.Label();
      java.awt.Label label2 = new java.awt.Label();
      java.awt.Label label3 = new java.awt.Label();
      java.awt.TextField textField3 = new java.awt.TextField();
      java.awt.Label label4 = new java.awt.Label();
      java.awt.TextField textField4 = new java.awt.TextField();
      java.awt.Label label5 = new java.awt.Label();
      java.awt.TextField textField5 = new java.awt.TextField();
      java.awt.Label label6 = new java.awt.Label();
      java.awt.TextField textField6 = new java.awt.TextField();
      java.awt.TextField textField7 = new java.awt.TextField();
      java.awt.Label label7 = new java.awt.Label();
      java.awt.TextField textField8 = new java.awt.TextField();
      java.awt.Label label8 = new java.awt.Label();
      java.awt.Button button1 = new java.awt.Button();
      java.awt.Label label9 = new java.awt.Label();
      java.awt.Label label10 = new java.awt.Label();
      java.awt.TextField textField9 = new java.awt.TextField();
      java.awt.Label label11 = new java.awt.Label();
      java.awt.Label label12 = new java.awt.Label();
      java.awt.Label label13 = new java.awt.Label();
      java.awt.Label label14 = new java.awt.Label();
      java.awt.Label label15 = new java.awt.Label();
      java.awt.TextField textField10 = new java.awt.TextField();
      // END GENERATED CODE

      boolean isStandalone = false;

      public Rocket()
      {
      }

      // Retrieve the value of an applet parameter

      public String getParameter(String key, String def)
      {
      return isStandalone ? System.getProperty(key, def) :
      (getParameter(key) != null ? getParameter(key) : def);
      }

      // Get info on the applet parameters
      public String[][] getParameterInfo()
      {
      return null;
      }

      // Get applet information
      public String getAppletInfo()
      {
      return "Applet Information";
      }

      // Initialize the applet
      public void init()
      {

      try {
      initComponents();
      }

      catch (Exception e) {
      e.printStackTrace();
      }
      }

      public void initComponents() throws Exception
      {
      // BEGIN GENERATED CODE
      // the following code sets the frame's initial state
      textField1.setText("100000");
      textField1.setLocation(new java.awt.Point(260, 90));
      textField1.setVisible(true);
      textField1.setBackground(new java.awt.Color(255, 255, 255));
      textField1.setFont(new java.awt.Font("Dialog", 1, 14));
      textField1.setSize(new java.awt.Dimension(70, 23));
      textField1.setEditable(false);

      textField2.setText("1000");
      textField2.setLocation(new java.awt.Point(260, 120));
      textField2.setVisible(true);
      textField2.setBackground(new java.awt.Color(255, 255, 255));
      textField2.setFont(new java.awt.Font("Dialog", 1, 14));
      textField2.setSize(new java.awt.Dimension(70, 23));
      textField2.setEditable(false);

      label1.setText("Atmospheric Pressure (Pa) , FIXED");
      label1.setLocation(new java.awt.Point(10, 90));
      label1.setAlignment(Label.CENTER);
      label1.setVisible(true);
      label1.setBackground(new java.awt.Color(255, 200, 0));
      label1.setFont(new java.awt.Font("Dialog", 1, 14));
      label1.setSize(new java.awt.Dimension(240, 23));

      label2.setText("Water Density (kg/m^3) , FIXED");
      label2.setLocation(new java.awt.Point(10, 120));
      label2.setAlignment(Label.CENTER);
      label2.setVisible(true);
      label2.setBackground(new java.awt.Color(255, 200, 0));
      label2.setFont(new java.awt.Font("Dialog", 1, 14));
      label2.setSize(new java.awt.Dimension(240, 23));

      label3.setText("Bottle's Internal Volume (Liter) = ");
      label3.setLocation(new java.awt.Point(10, 150));
      label3.setAlignment(Label.CENTER);
      label3.setVisible(true);
      label3.setBackground(new java.awt.Color(255, 200, 0));
      label3.setFont(new java.awt.Font("Dialog", 1, 14));
      label3.setSize(new java.awt.Dimension(240, 23));

      textField3.setText("2");
      textField3.setLocation(new java.awt.Point(260, 150));
      textField3.setVisible(true);
      textField3.setBackground(new java.awt.Color(255, 255, 255));
      textField3.setFont(new java.awt.Font("Dialog", 1, 14));
      textField3.setSize(new java.awt.Dimension(70, 23));

      label4.setText("Bottle's Internal Diameter (m) =");
      label4.setLocation(new java.awt.Point(10, 180));
      label4.setAlignment(Label.CENTER);
      label4.setVisible(true);
      label4.setBackground(new java.awt.Color(255, 200, 0));
      label4.setFont(new java.awt.Font("Dialog", 1, 14));
      label4.setSize(new java.awt.Dimension(240, 23));

      textField4.setText("0.11");
      textField4.setLocation(new java.awt.Point(260, 180));
      textField4.setVisible(true);
      textField4.setBackground(new java.awt.Color(255, 255, 255));
      textField4.setFont(new java.awt.Font("Dialog", 1, 14));
      textField4.setSize(new java.awt.Dimension(70, 23));

      label5.setText("Nozzle Diameter (m) , FIXED");
      label5.setLocation(new java.awt.Point(10, 210));
      label5.setAlignment(Label.CENTER);
      label5.setVisible(true);
      label5.setBackground(new java.awt.Color(255, 200, 0));
      label5.setFont(new java.awt.Font("Dialog", 1, 14));
      label5.setSize(new java.awt.Dimension(240, 23));

      textField5.setText("0.0215");
      textField5.setLocation(new java.awt.Point(260,

            Unassigned Unassigned
            zlisunw Zhenghua Li (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: