[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
java.lang.Class comment bug
From: |
Patrick Doyle |
Subject: |
java.lang.Class comment bug |
Date: |
Thu, 12 Jul 2001 21:25:25 -0400 (EDT) |
The comments in vm/reference/java/lang/Class.java say this:
The name of an array class is <CODE>[<type name></CODE> ... for
example, String[]'s class is <CODE>[java.lang.String</CODE>.
According to the J2SE documentation, the name of an array class uses the
name of the element type in "Java signature format". Thus, String[]'s
class should be "[Ljava.lang.String;".
Note that this is still not the same name as would appear in a constant
pool entry, because that would use slashes instead of periods.
--
Patrick Doyle
address@hidden
- java.lang.Class comment bug,
Patrick Doyle <=