qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiram Chirino" <hi...@hiramchirino.com>
Subject Re: Is qpid/java trunk supposed to build without test failures?
Date Mon, 01 Dec 2008 22:02:18 GMT
Yep.  You guys might want to add a readme type deal to avoid folks
having these problems.

On Mon, Dec 1, 2008 at 4:39 PM, Rafael Schloming <rafaels@redhat.com> wrote:
> 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
>
>



-- 
Regards,
Hiram

Blog: http://hiramchirino.com

Open Source SOA
http://open.iona.com

Mime
View raw message