src/share/vm/oops/constantPoolOop.cpp

changeset 2265
d1896d1dda3e
parent 2148
d257356e35f0
child 2268
3b2dea75431e
     1.1 --- a/src/share/vm/oops/constantPoolOop.cpp	Thu Oct 28 00:48:18 2010 -0700
     1.2 +++ b/src/share/vm/oops/constantPoolOop.cpp	Sat Oct 30 11:45:35 2010 -0700
     1.3 @@ -265,8 +265,7 @@
     1.4    int i = which;
     1.5    if (!uncached && cache() != NULL) {
     1.6      if (constantPoolCacheOopDesc::is_secondary_index(which)) {
     1.7 -      // Invokedynamic indexes are always processed in native order
     1.8 -      // so there is no question of reading a native u2 in Java order here.
     1.9 +      // Invokedynamic index.
    1.10        int pool_index = cache()->main_entry_at(which)->constant_pool_index();
    1.11        if (tag_at(pool_index).is_invoke_dynamic())
    1.12          pool_index = invoke_dynamic_name_and_type_ref_index_at(pool_index);

mercurial