221 // validated. After the entire constant pool has been parsed, the index |
221 // validated. After the entire constant pool has been parsed, the index |
222 // values can be validated and then the entries are converted into |
222 // values can be validated and then the entries are converted into |
223 // JVM_CONSTANT_UnresolvedClass and JVM_CONSTANT_UnresolvedString |
223 // JVM_CONSTANT_UnresolvedClass and JVM_CONSTANT_UnresolvedString |
224 // entries. During this conversion process, the UTF8 values that are |
224 // entries. During this conversion process, the UTF8 values that are |
225 // indirectly referenced by the JVM_CONSTANT_ClassIndex and |
225 // indirectly referenced by the JVM_CONSTANT_ClassIndex and |
226 // JVM_CONSTANT_StringIndex entries are changed into symbolOops and the |
226 // JVM_CONSTANT_StringIndex entries are changed into Symbol*s and the |
227 // entries are modified to refer to the symbolOops. This optimization |
227 // entries are modified to refer to the Symbol*s. This optimization |
228 // eliminates one level of indirection for those two CP entry types and |
228 // eliminates one level of indirection for those two CP entry types and |
229 // gets the entries ready for verification. During class file parsing |
229 // gets the entries ready for verification. During class file parsing |
230 // it is also possible for JVM_CONSTANT_UnresolvedString entries to be |
230 // it is also possible for JVM_CONSTANT_UnresolvedString entries to be |
231 // resolved into JVM_CONSTANT_String entries. Verification expects to |
231 // resolved into JVM_CONSTANT_String entries. Verification expects to |
232 // find JVM_CONSTANT_UnresolvedClass and either JVM_CONSTANT_String or |
232 // find JVM_CONSTANT_UnresolvedClass and either JVM_CONSTANT_String or |