This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/17536] New: wrong ClassLoader for int[]
- From: "tromey at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Sep 2004 17:44:28 -0000
- Subject: [Bug libgcj/17536] New: wrong ClassLoader for int[]
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
getClassLoader should return null for primitive types,
arrays of primitive types, arrays of those, etc.
Right now it will not return null for, e.g., int[].class.
The reason is that we have special code in getClassLoader
to avoid returning null; this is wrong in at least this case.
--
Summary: wrong ClassLoader for int[]
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tromey at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17536