nonfatal internal JIT (3.10.105(x)) error 'GetRegisterA'

XMLWordPrintable

    • x86
    • windows_95, windows_nt



      Name: krT82822 Date: 03/18/99

      =20
      Please compile and run the test case below (I tried to simplify it). On my =
      PC with the JDK 1.2.1, I get:

      A nonfatal internal JIT (3.10.105(x)) error 'GetRegisterA' has occurred in =
      :
        'Test.test (Ljava/awt/geom/Point2D;)V': Interpreting method.
        Please report this error in detail to http://java.sun.com/cgi-bin/bugrepo=
      rt.cgi

      This error was not present in JDK 1.2.0
      _______________________________________________________

      import java.awt.geom.*;

      public final class Test extends Line2D.Double
      {
        public void test(Point2D pt)
        {
          double x=3Dpt.getX();
          double y=3Dpt.getY();
          final double slope =3D (y2-y1)/(x2-x1);
          if (!java.lang.Double.isInfinite(slope))
          {
            final double y0 =3D (y2-slope*x2);
            x =3D ((y-y0)*slope+x)/(slope*slope+1);
          }
          if (x1<=3Dx2)
          {
            if (x<x1) x=3Dx1;
            if (x>x2) x=3Dx2;
          }
        }

        public static void main(String[] args)
        {
          final Test line=3Dnew Test();
          line.setLine(5,5, 25,25);
          for (int i=3D0; i<500; i++)
            line.test(new Point2D.Double(30,10));
        }
      }
      (Review ID: 55766)
      ======================================================================

            Assignee:
            J. Duke
            Reporter:
            Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: