Sorry, I am unaware that getSimpleName() is new in Java 5. I am
downloading Java 1.4 API doc and will use that as my reference from now
on. -Cedric
Philip Johnson wrote:
I was just trying to run tests on the trunk before committing my
merged trunk, and I got the following compiler error:
C:\svn\hackyCore_Build>ant -q freshStart all.junit
[echo] (14:53:02) Completed hackyCore_Build.checkModuleAvailability
[echo] (14:53:02) Completed hackyCore_Build.hotUndeployHackystat
[echo] (14:53:50) Completed all.checkstyle
[hackyCore_Build.javac]
C:\svn\hackyCore_Telemetry\src\org\hackystat\core\telemetry\evaluator\TelemetryEvaluator.java:124:
cannot resolve symbol
[hackyCore_Build.javac] symbol : method getSimpleName ()
[hackyCore_Build.javac] location: class java.lang.Class
[hackyCore_Build.javac] + " does not accept parameter of
type " + param.getClass().getSimpleName());
[hackyCore_Build.javac] ^
[hackyCore_Build.javac]
C:\svn\hackyCore_Telemetry\src\org\hackystat\core\telemetry\evaluator\TelemetryEvaluator.java:164:
cannot resolve symbol
[hackyCore_Build.javac] symbol : method getSimpleName ()
[hackyCore_Build.javac] location: class java.lang.Class
[hackyCore_Build.javac] + " does not accept parameter of
type " + param.getClass().getSimpleName());
[hackyCore_Build.javac] ^
[hackyCore_Build.javac] 2 errors
I guess getSimpleName() is a Java5-only method. Cedric, could you
rewrite in jdk1.4-compliant code and recommit ASAP?
Thanks,
Philip