qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Asanka Abeysinghe <asan...@wso2.com>
Subject Re: [jira] Commented: (QPID-1189) Ant target need to be execute twice to build Qpid
Date Wed, 23 Jul 2008 15:49:35 GMT
Yes it works fine with Java 1.6

Rajith Attapattu (JIRA) wrote:
>     [ https://issues.apache.org/jira/browse/QPID-1189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616017#action_12616017
] 
>
> Rajith Attapattu commented on QPID-1189:
> ----------------------------------------
>
> This is only an issue on Java 1.5
> I believe Rob is planning to make the nessacery changes to make it compile properly under
java 1.5
>
>   
>> Ant target need to be execute twice to build Qpid
>> -------------------------------------------------
>>
>>                 Key: QPID-1189
>>                 URL: https://issues.apache.org/jira/browse/QPID-1189
>>             Project: Qpid
>>          Issue Type: Bug
>>          Components: Java Broker
>>    Affects Versions: M3
>>         Environment: Ubuntu Gutsy, Ant 1.7, Java 1.5 
>>            Reporter: Asanka Abeysinghe
>>             Fix For: M3
>>
>>
>> Ant target (ant build) need to be execute twice to build the system. 
>> First run gives an Error :
>>  [javac] /home/asankaa/workspace/qpid-1.0-dev/java/broker/src/main/java/org/apache/qpid/server/filter/UnaryExpression.java:81:
unreported exception java.lang.Exception; must be caught or declared to be thrown
>>     [javac]             Object object = evaluate(message);
>>     [javac]                                     ^
>>     [javac] /home/asankaa/workspace/qpid-1.0-dev/java/broker/src/main/java/org/apache/qpid/server/filter/UnaryExpression.java:216:
unreported exception java.lang.Exception; must be caught or declared to be thrown
>>     [javac]             Object rvalue = right.evaluate(message);
>>     [javac]                                           ^
>>     [javac] /home/asankaa/workspace/qpid-1.0-dev/java/broker/src/main/java/org/apache/qpid/server/filter/UnaryExpression.java:251:
unreported exception java.lang.Exception; must be caught or declared to be thrown
>>     [javac]             Object rvalue = right.evaluate(message);
>>     [javac]                                           ^
>>     [javac] /home/asankaa/workspace/qpid-1.0-dev/java/broker/src/main/java/org/apache/qpid/server/filter/UnaryExpression.java:321:
unreported exception java.lang.Exception; must be caught or declared to be thrown
>>     [javac]             Boolean lvalue = (Boolean) right.evaluate(message);
>>     [javac]                                                      ^
>>     [javac] /home/asankaa/workspace/qpid-1.0-dev/java/broker/src/main/java/org/apache/qpid/server/filter/UnaryExpression.java:345:
unreported exception java.lang.Exception; must be caught or declared to be thrown
>>     [javac]             Object rvalue = right.evaluate(message);
>>     [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
>> Once the target runs again it compiles the binary correctly.  
>>     
>
>   


Mime
View raw message