langtools/src/share/classes/com/sun/tools/javac/jvm/Code.java
changeset 4866 21f0ac9e5a20
parent 3300 02ba23f205f3
child 5520 86e4b9a9da40
equal deleted inserted replaced
4865:1e4422ac2495 4866:21f0ac9e5a20
  1924                 || lv.sym.typeAnnotations == null)
  1924                 || lv.sym.typeAnnotations == null)
  1925             return;
  1925             return;
  1926         for (Attribute.TypeCompound ta : lv.sym.typeAnnotations) {
  1926         for (Attribute.TypeCompound ta : lv.sym.typeAnnotations) {
  1927             TypeAnnotationPosition p = ta.position;
  1927             TypeAnnotationPosition p = ta.position;
  1928             while (p != null) {
  1928             while (p != null) {
  1929                 p.lvarOffset[0] = (int)lv.start_pc;
  1929                 p.lvarOffset = new int[] { (int)lv.start_pc };
  1930                 p.lvarLength[0] = (int)lv.length;
  1930                 p.lvarLength = new int[] { (int)lv.length };
  1931                 p.lvarIndex[0] = (int)lv.reg;
  1931                 p.lvarIndex = new int[] { (int)lv.reg };
  1932                 p.isValidOffset = true;
  1932                 p.isValidOffset = true;
  1933                 p = p.wildcard_position;
  1933                 p = p.wildcard_position;
  1934             }
  1934             }
  1935         }
  1935         }
  1936     }
  1936     }