I can compile without any issue. What is the JDK version that you are
compiling with?

Danushka

On Fri, May 13, 2011 at 1:43 AM, Afkham Azeez <az...@wso2.com> wrote:

> compile:
>      [echo] Targeting : 1.5
>     [javac] Compiling 7 source files to
> /Users/azeez/projects/wso2/org/trunk/carbon/dependencies/qpid/java/build/scratch/broker/classes
>     [javac]
> /Users/azeez/projects/wso2/org/trunk/carbon/dependencies/qpid/java/broker/src/main/java/org/apache/qpid/server/transport/ServerConnection.java:352:
> closed() is already defined in
> org.apache.qpid.server.transport.ServerConnection
>     [javac] public void closed() {
>     [javac]             ^
>     [javac] Note: Some input files use unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] 1 error
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] An Ant BuildException has occured: The following error occurred
> while executing this line:
> /Users/azeez/projects/wso2/org/trunk/carbon/dependencies/qpid/java/build.xml:159:
> The following error occurred while executing this line:
> /Users/azeez/projects/wso2/org/trunk/carbon/dependencies/qpid/java/build.xml:58:
> The following error occurred while executing this line:
> /Users/azeez/projects/wso2/org/trunk/carbon/dependencies/qpid/java/module.xml:259:
> Compile failed; see the compiler error output for details.
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * <http://www.apache.org/>**
> email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919
> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to