qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rafael Schloming <rafa...@redhat.com>
Subject Re: Is qpid/java trunk supposed to build without test failures?
Date Mon, 01 Dec 2008 21:39:53 GMT
Hiram Chirino wrote:
> Ah thanks.. I just tried that and got:
> 
> compile:
>      [echo] Targeting : 1.5
>     [javac] Compiling 268 source files to
> /Users/chirino/sandbox/qpid-trunk/java/build/broker/classes
>     [javac] /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/ExtractResendAndRequeue.java:57:
> method does not override a method from its superclass
>     [javac]     @Override
>     [javac]      ^
>     [javac] /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/ExtractResendAndRequeue.java:104:
> method does not override a method from its superclass
>     [javac]     @Override
>     [javac]      ^
>     [javac] /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/subscription/SubscriptionImpl.java:82:
> method does not override a method from its superclass
>     [javac]         @Override
>     [javac]          ^
>     [javac] /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/subscription/SubscriptionImpl.java:130:
> method does not override a method from its superclass
>     [javac]         @Override
>     [javac]          ^
>     [javac] /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/subscription/SubscriptionImpl.java:200:
> method does not override a method from its superclass
>     [javac]         @Override
>     [javac]          ^
>     [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] 5 errors

Are you building with Java 1.5? These days you need 1.6 or later to 
build the code. In particular @Override is being used on implementations 
of interface methods. This is permitted by Java 1.6 or later, but was 
illegal on Java 1.5.

--Rafael


Mime
View raw message