What steps will reproduce the problem?
1. Call ClassUtils.isInterface(Object);
What is the expected output? What do you see instead?
Expect false, but get true instead
Please provide any additional information below.
There needs to be an extra check if the specified class is Object, than
return false as an exception (The describeType() XML for the Object class
doesn't have an <extendsClass/> element).
I've replace the isInterface code with the same code I ised in my previous
patch for the Type.isInterface property. I also added an extra unit test
for ClassUtils.isInterface().
Patches are attached.
Original issue reported on code.google.com by ihatelivelyids on 3 Sep 2009 at 7:45
Original issue reported on code.google.com by
ihatelivelyids
on 3 Sep 2009 at 7:45Attachments: