Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6511206
Votes 0
Synopsis Error: assert(0 <= i && i < _len,"illegal index")
Category hotspot:compiler2
Reported Against b06
Release Fixed hs10(b07), 6u4(b03) (Bug ID:2171903) , 7(b07) (Bug ID:2176834)
State 10-Fix Delivered, bug
Priority: 4-Low
Related Bugs
Submit Date 09-JAN-2007
Description
nsk tests:

nsk/jvmti/SetLocalVariable/setlocal001 
nsk/jvmti/scenarios/capability/CM01/cm01t011

fail with this assert.
Posted Date : 2007-01-09 20:32:42.0
Work Around
N/A
Evaluation
This code in the JavaThread destructor is asserting and clearly wrong.

    assert(deferred->length() != 0, "empty array!");
    do {
      jvmtiDeferredLocalVariableSet* dlv = deferred->at(1);
      deferred->remove_at(1);
      // individual jvmtiDeferredLocalVariableSet are CHeapObj's
      delete dlv;
    } while (deferred->length() != 0);
    delete deferred;


the "1" parameter for at() and remove_at() should be zero.
Posted Date : 2007-01-09 20:35:14.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang