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

nonfatal internal JIT error 'Unuse_LRU' has occured; Interpreting method.

XMLWordPrintable

    • 1.1.6
    • x86
    • windows_nt
    • Not verified



        Name: tb29552 Date: 06/02/98


        When I run my applet using the JRE with JDK 1.1.6
        libraries, using AppletViewer,
         I get the following error:

        A nonfatal internal JIT (3.00.039(x)) error 'Unuse_LRU'
        has occurred in:
          'mwutil.dk((BI)V)': Interpreting method.

        I don't see this error in any other combination
        that I have tested.

        The code is as follows:
            void dk(byte [] bB, int nBL)
            {
              int nX;
              byte tb;
              int nI, nK, nL;

              // Loop over the buffer and encrypt/decrypt
              for(nI = 0; nI < nBL; nI ++)
              {
                 x = (x + 1) % 256;
                 y += s[x];
                 if (s[x] < 0) { // if negative due to signed byte
                   y += 256; // adjust to emulate unsigned byte
                 }
                 y = y % 256;
                 tb = s[x];
                 s[x] = s[y];
                 s[y] = tb;

                 nX = s[x];
                 if (s[x] < 0) { // if negative byte
                   nX += 256; // emulate unsigned byte
                 }
                 nX += s[y];
                 if (s[y] < 0) { // if negative byte
                   nX += 256; // emulate unsigned byte
                 }
                 nX = nX % 256;

                 nK = (int)bB[nI]; // get the byte to an int so we can work with it
                 nK += (nK<0?256:0); // normalize since bytes are signed
                 nL = (int)s[nX];
                 nL += (s[nX]<0?256:0);
                 nK = nK ^ nL;
                 bB[nI] = (nK>=128?(byte)(nK-256):(byte)nK);
              }
            }
        (Review ID: 32224)
        ======================================================================

              dviswanasunw Deepa Viswanathan (Inactive)
              tbell Tim Bell
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: