equal
deleted
inserted
replaced
586 assert(ty_sign != NULL, "type signature must not be NULL"); |
586 assert(ty_sign != NULL, "type signature must not be NULL"); |
587 assert(thread != NULL, "thread must not be NULL"); |
587 assert(thread != NULL, "thread must not be NULL"); |
588 assert(klass != NULL, "klass must not be NULL"); |
588 assert(klass != NULL, "klass must not be NULL"); |
589 |
589 |
590 int len = (int) strlen(ty_sign); |
590 int len = (int) strlen(ty_sign); |
591 if (ty_sign[0] == 'L' && ty_sign[len-1] == ';') { // Need pure class/interface name |
591 if (ty_sign[0] == JVM_SIGNATURE_CLASS && |
|
592 ty_sign[len-1] == JVM_SIGNATURE_ENDCLASS) { // Need pure class/interface name |
592 ty_sign++; |
593 ty_sign++; |
593 len -= 2; |
594 len -= 2; |
594 } |
595 } |
595 TempNewSymbol ty_sym = SymbolTable::new_symbol(ty_sign, len); |
596 TempNewSymbol ty_sym = SymbolTable::new_symbol(ty_sign, len); |
596 if (klass->name() == ty_sym) { |
597 if (klass->name() == ty_sym) { |