< prev index next >

src/jdk.jdeps/share/classes/com/sun/tools/classfile/Signature.java

Print this page
@@ -140,10 +140,11 @@
  
              case 'J':
                  sigp++;
                  return new SimpleType("long");
  
+             case 'Q':
              case 'L':
                  return parseClassTypeSignature();
  
              case 'S':
                  sigp++;

@@ -189,11 +190,11 @@
          sigp++;
          return types;
      }
  
      private Type parseClassTypeSignature() {
-         assert sig.charAt(sigp) == 'L';
+         assert sig.charAt(sigp) == 'L' || sig.charAt(sigp) == 'Q';
          sigp++;
          return parseClassTypeSignatureRest();
      }
  
      private Type parseClassTypeSignatureRest() {
< prev index next >