< prev index next >

src/java.base/share/native/libjava/check_classname.c

Print this page
*** 192,11 ***
              case JVM_SIGNATURE_FLOAT:
              case JVM_SIGNATURE_LONG:
              case JVM_SIGNATURE_DOUBLE:
                  return name + 1;
  
!             case JVM_SIGNATURE_CLASS: {
                  /* Skip over the classname, if one is there. */
                  char *p =
                      skip_over_fieldname(name + 1, JNI_TRUE, --length);
                  /* The next character better be a semicolon. */
                  if (p && p - name - 1 > 0 && p[0] == ';')
--- 192,12 ---
              case JVM_SIGNATURE_FLOAT:
              case JVM_SIGNATURE_LONG:
              case JVM_SIGNATURE_DOUBLE:
                  return name + 1;
  
!             case JVM_SIGNATURE_CLASS:
+             case JVM_SIGNATURE_INLINE_TYPE: {
                  /* Skip over the classname, if one is there. */
                  char *p =
                      skip_over_fieldname(name + 1, JNI_TRUE, --length);
                  /* The next character better be a semicolon. */
                  if (p && p - name - 1 > 0 && p[0] == ';')
< prev index next >