src/share/classes/com/sun/tools/javac/jvm/Code.java

changeset 478
0eaf89e08564
parent 323
14b1a8ede954
child 554
9d9f26857129
equal deleted inserted replaced
477:f23b985beb78 478:0eaf89e08564
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 }

mercurial