< prev index next >

src/hotspot/share/runtime/fieldType.hpp

Print this page
rev 55090 : secret-sfac

@@ -63,11 +63,11 @@
   static bool is_obj(Symbol* signature) {
      int sig_length = signature->utf8_length();
      // Must start with 'L' and end with ';'
      return (sig_length >= 2 &&
              (signature->char_at(0) == 'L') &&
-             (signature->char_at(sig_length - 1) == ';'));
+             (signature->ends_with(';')));
   }
 
   static bool is_valuetype(Symbol* signature) {
     return signature->is_Q_signature();
     }
< prev index next >