What steps will reproduce the problem?
1. Compiling Though Ant using Javac
Error:
C:\research_old\JSEAT2\src\metric\core\model\MetricData.java:56:
incomparable types: java.lang.Class<T> and
java.lang.Class<metric.core.vocabulary.History>
[javac] if (prop.getDeclaringClass() == History.class)
[javac] ^
2. Possible Fix is:
if (((Class)prop.getDeclaringClass()) == ((Class)History.class))
What is the expected output? What do you see instead?
I expect it to compile first time everytime.
Original issue reported on code.google.com by captainh...@gmail.com on 5 Sep 2007 at 12:20
Original issue reported on code.google.com by
captainh...@gmail.com
on 5 Sep 2007 at 12:20