< prev index next >

src/jdk.jdwp.agent/share/native/libjdwp/util.c

Print this page
rev 58769 : [mq]: type-descriptor-name

@@ -990,10 +990,14 @@
     p = convert + 1;
     while ((*p != ';') && (*p != '\0')) {
         char c = *p;
         if (c == '/') {
             *(p-1) = '.';
+        } else if (c == '.') {
+            // class signature of a hidden class is "Ljava/lang/Foo.1234;"
+            // map to "java.lang.Foo/1234"
+            *(p-1) = '/';
         } else {
             *(p-1) = c;
         }
         p++;
     }
< prev index next >