Dag H. Wanvik wrote:
Just a nit, I see more compiler warning after this fix (building with
Java 1.6 or 1.5 made no difference for me) due to the ResultSet method
deprecations. I guess this can't be suppressed..?

Dag
I compile (with Java 5 on Mac OS X) using this command

ant -quiet all

That produces this output for me:

[java] Warning: Lookahead adequacy checking not being performed since option LOOKAHEAD is more than 1. Set option FORCE_LA_CHECK to true to force checking. [java] Warning: ParseException.java: File is obsolete. Please rename or delete this file so that a new one can be generated for you. [java] Warning: Token.java: File is obsolete. Please rename or delete this file so that a new one can be generated for you. [java] Warning: CharStream.java: File is obsolete. Please rename or delete this file so that a new one can be generated for you. [javac] Note: /Users/rh161140/derby/mainline/trunk/java/engine/org/apache/derby/jdbc/EmbeddedDriver.java uses or overrides a deprecated API.
   [javac] Note: Recompile with -Xlint:deprecation for details.
   [javac] Note: Some input files use or override a deprecated API.
   [javac] Note: Recompile with -Xlint:deprecation for details.
   [javac] Note: Some input files use or override a deprecated API.
   [javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: /Users/rh161140/derby/mainline/trunk/java/testing/org/apache/derbyTesting/functionTests/util/ManyMethods.java uses or overrides a deprecated API.
   [javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: /Users/rh161140/derby/mainline/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ParameterMappingTest.java uses or overrides a deprecated API.
   [javac] Note: Recompile with -Xlint:deprecation for details.
   [javac] Note: Some input files use or override 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] Note: /Users/rh161140/derby/mainline/trunk/java/testing/org/apache/derby/impl/drda/TestProto.java uses unchecked or unsafe operations.
   [javac] Note: Recompile with -Xlint:unchecked for details.

Is that what you see?

Thanks,
-Rick

Reply via email to