-
Bug
-
Resolution: Fixed
-
P4
-
1.1.6
-
1.1.6
-
x86
-
windows_nt
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2107339 | 1.2.0 | Deepa Viswanathan | P4 | Resolved | Fixed | 1.2beta4 |
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)
======================================================================
- backported by
-
JDK-2107339 nonfatal internal JIT error 'Unuse_LRU' has occured; Interpreting method.
-
- Resolved
-