equal
deleted
inserted
replaced
1230 const u4 orig_access_flag_offset = orig_stream->current_offset(); |
1230 const u4 orig_access_flag_offset = orig_stream->current_offset(); |
1231 // Copy original stream from the beginning up to AccessFlags |
1231 // Copy original stream from the beginning up to AccessFlags |
1232 // This means the original constant pool contents are copied unmodified |
1232 // This means the original constant pool contents are copied unmodified |
1233 writer.bytes(orig_stream->buffer(), orig_access_flag_offset); |
1233 writer.bytes(orig_stream->buffer(), orig_access_flag_offset); |
1234 assert(writer.is_valid(), "invariant"); |
1234 assert(writer.is_valid(), "invariant"); |
1235 assert(writer.current_offset() == orig_access_flag_offset, "invariant"); // same positions |
1235 assert(writer.current_offset() == (intptr_t)orig_access_flag_offset, "invariant"); // same positions |
1236 // Our writer now sits just after the last original constant pool entry. |
1236 // Our writer now sits just after the last original constant pool entry. |
1237 // I.e. we are in a good position to append new constant pool entries |
1237 // I.e. we are in a good position to append new constant pool entries |
1238 // This array will contain the resolved indexes |
1238 // This array will contain the resolved indexes |
1239 // in order to reference UTF8_INFO's needed |
1239 // in order to reference UTF8_INFO's needed |
1240 u2 utf8_indexes[NOF_UTF8_SYMBOLS]; |
1240 u2 utf8_indexes[NOF_UTF8_SYMBOLS]; |