changeset 49057:4b04e674fff0 lworld

[lworld] Cleanup lingering vestigial traces of 'Q'isms.
author sadayapalam
date Tue, 13 Mar 2018 10:21:19 +0530
parents f438b78bc361
children 69bee8509695
files src/jdk.jdeps/share/classes/com/sun/tools/classfile/Descriptor.java src/jdk.jdeps/share/classes/com/sun/tools/classfile/Signature.java
diffstat 2 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/jdk.jdeps/share/classes/com/sun/tools/classfile/Descriptor.java	Mon Mar 12 18:41:35 2018 +0100
+++ b/src/jdk.jdeps/share/classes/com/sun/tools/classfile/Descriptor.java	Tue Mar 13 10:21:19 2018 +0530
@@ -158,7 +158,6 @@
                     break;
 
                 case 'L':
-                case 'Q':
                     int sep = desc.indexOf(';', p);
                     if (sep == -1)
                         throw new InvalidDescriptor(desc, p - 1);
--- a/src/jdk.jdeps/share/classes/com/sun/tools/classfile/Signature.java	Mon Mar 12 18:41:35 2018 +0100
+++ b/src/jdk.jdeps/share/classes/com/sun/tools/classfile/Signature.java	Tue Mar 13 10:21:19 2018 +0530
@@ -143,7 +143,6 @@
                 return new SimpleType("long");
 
             case 'L':
-            case 'Q':
                 return parseClassTypeSignature();
 
             case 'S':
@@ -192,7 +191,7 @@
     }
 
     private Type parseClassTypeSignature() {
-        assert sig.charAt(sigp) == 'L' || sig.charAt(sigp) == 'Q';
+        assert sig.charAt(sigp) == 'L';
         sigp++;
         return parseClassTypeSignatureRest();
     }