< prev index next >

src/java.base/share/classes/jdk/internal/reflect/AccessorGenerator.java

Print this page
@@ -418,11 +418,11 @@
              throw new InternalError("Should have found primitive type");
          } else if (c.isArray()) {
              return "[" + getClassName(c.getComponentType(), true);
          } else {
              if (addPrefixAndSuffixForNonPrimitiveTypes) {
-                 return internalize("L" + c.getName() + ";");
+                 return c.descriptorString();
              } else {
                  return internalize(c.getName());
              }
          }
      }
< prev index next >