ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eddie Bernard <ebern...@digitalthink.com>
Subject RE: ejbjar with exception
Date Fri, 01 Mar 2002 21:40:52 GMT
I don't have the exact reference, but I've seen this caution message before
using Jikes.  I believe it's an interpretation of the Java specification
that they've implemented in Jikes, but Sun does not interpret the same way
and therefore is not in javac.

You can search the Jikes pages for the exact reference and I do recall that
there's a "patch" for this if you want.  Of course, it would require you to
recompile the Jikes compiler.

Personally, I wouldn't worry about it and just ignore the message.

P.S.- If my memory serves correct, I believe I had the same problem using
jikes 1.13.


Cheers!
Eddie

-----Original Message-----
From: Ying Wang [mailto:yingwang@hawaii.edu]
Sent: Friday, March 01, 2002 12:36 PM
To: Sharanya Vemu; Eddie Bernard
Cc: Ant Users List
Subject: RE: ejbjar with exception


I am using jikes and weblogicpath includes weblogic510sp11.jar

Ying Wang

On Fri, 1 Mar 2002, Sharanya Vemu wrote:

> yes , i am wondering too , wha compiler is that ???
>
>
> -----Original Message-----
> From: Eddie Bernard [mailto:ebernard@digitalthink.com]
> Sent: Friday, March 01, 2002 3:13 PM
> To: 'Ant Users List'
> Subject: RE: ejbjar with exception
>
>
> I think this is harmless as it's only a caution.  Just out of curiosity
what
> compiler are you using?
>
> -----Original Message-----
> From: Ying Wang [mailto:yingwang@hawaii.edu]
> Sent: Friday, March 01, 2002 12:10 PM
> To: Ant Users List
> Subject: ejbjar with exception
>
>
> Hi All,
>   I got the warning massage I can not understand. I did set the
> weblogicclasspath in the <weblogic> element.
>   this is the build code:
>
>       <weblogic destdir="${ejbholding.dir}"
>                 wlclasspath="${ejbc-classpath}"
>                  />
>
>   This is the result:
>
>      [ejbjar] building EmailList_ejb.jar with 6 files
>      [ejbc]
>      [ejbc] Issued 1 semantic warning compiling
>
"C:/../../../ejbcgen/../email/ejb/impl/EmailListBeanHomeImpl_ServiceStub.jav
> a":
>      [ejbc]
>      [ejbc]    516.     } catch (java.lang.Exception e) {
>      [ejbc]                      <------------------->
>      [ejbc] *** Caution: This catch block may be unreachable because there
> is no exception whose type is assignable to "java/lang/Exception" that can
> be
> thrown during execution of the body of the try block. However, this being
> a base exception class, compilation will proceed.
>
> Anyone has idea of it?
> Any help is appraciated!
>
> Ying Wang
>
>
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message