If you can figure out a simple way of making this compile without warnings in both JDK 1.3/1.4 and JDK 1.5, I'll patch it. (submit to Bugzilla).

WILL

----- Original Message ----- From: "Christian Trutz" <[EMAIL PROTECTED]>
To: "Velocity Developers List" <[EMAIL PROTECTED]>
Sent: Thursday, December 16, 2004 2:12 PM
Subject: Re: Java v1.5.0



Hi Will,

On Thu, Dec 16, 2004 at 01:40:40PM -0800, Will Glass-Husain wrote:
It gives a warning, but does it compile correctly?

YES, the compilation process is successfull and i think the velocity-dev.jar works fine (until now untested), i will use this jar the next days and report if something fails ...

Christian


WILL

----- Original Message ----- From: "Christian Trutz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 16, 2004 10:57 AM
Subject: Java v1.5.0



>Hello, > >i get this warning: > > [javac] Compiling 197 source files to >/home/chris/Projekte/velocity/bin/classes > [javac] >/home/chris/Projekte/velocity/bin/src/org/apache/velocity/runtime/parser/node/PropertyExecutor.java:111:warning: >non-varargs call of varargs method with inexact argument > type for last parameter; > [javac] cast to java.lang.Object for a varargs call > [javac] cast to java.lang.Object[] for a non-varargs call > and to suppress this warning > [javac] return method.invoke(o, null); > [javac] ^ > [javac] Note: * uses or overrides a deprecated >API. > [javac] Note: Recompile with > -Xlint:deprecation for details. > [javac] Note: Some input files use >unchecked or unsafe operations. > [javac] Note: Recompile with > -Xlint:unchecked for details. > [javac] 1 warning > > >when i: > >cd build >ant jar > >with: > >javac -version >javac 1.5.0 > > >Christian > > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to