src/jdk.jdeps/share/classes/com/sun/tools/classfile/ClassWriter.java
changeset 48826 c4d9d1b08e2e
parent 47216 71c04702a3d5
child 50735 2f2af62dfac7
equal deleted inserted replaced
48825:ef8a98bc71f8 48826:c4d9d1b08e2e
   281             out.writeShort(info.bootstrap_method_attr_index);
   281             out.writeShort(info.bootstrap_method_attr_index);
   282             out.writeShort(info.name_and_type_index);
   282             out.writeShort(info.name_and_type_index);
   283             return 1;
   283             return 1;
   284         }
   284         }
   285 
   285 
       
   286         public Integer visitDynamicConstant(CONSTANT_Dynamic_info info, ClassOutputStream out) {
       
   287             out.writeShort(info.bootstrap_method_attr_index);
       
   288             out.writeShort(info.name_and_type_index);
       
   289             return 1;
       
   290         }
       
   291 
   286         @Override
   292         @Override
   287         public Integer visitLong(CONSTANT_Long_info info, ClassOutputStream out) {
   293         public Integer visitLong(CONSTANT_Long_info info, ClassOutputStream out) {
   288             out.writeLong(info.value);
   294             out.writeLong(info.value);
   289             return 2;
   295             return 2;
   290         }
   296         }