Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [aspectj-users] Problems with inverting results from booleanmethods

Adrian,

Yes, it worked as expected running under the Sun JVM. The only aspect involved is a simple logging one. The nasty part is that I'm still trying to find a simple, reproducible example.

Thanks, Randy

-----Original Message-----
From: aspectj-users-bounces@xxxxxxxxxxx on behalf of Adrian Colyer
Sent: Mon 6/19/2006 8:53 AM
To: aspectj-users@xxxxxxxxxxx
Subject: Re: [aspectj-users] Problems with inverting results from booleanmethods
 
That sounds like it would be a very serious issue (and a very surprising
one!). Do you have any aspects involved or is this reproduceable with
straight Java code only? Do you get different results running the exact same
byte code on e.g. a sun vm?

Please raise a bug report if this issue is still reproduceable and we can
investigate there.
Thanks, Adrian.

On 14/06/06, Stearns, Randy <RStearns@xxxxxxxxxxxxxxxxxx> wrote:
>
>
> I ran across a situation where an application compiled with iajc 1.5.0does not return the expected results when running under
> Jrockit-1.4.2_08.
>
> Example:
>
> public boolean hasChildren() {
>     return ! CollectionUtils.isEmpty(children);
> }
>
> If isEmptry() returns false, there's no problem, but if it returns true,
> the method returns true. Also has a problem with ternary operations.
>
> I'm having to use explicit if/else statements.
>
> Has anyone else run across this?
>
> Randy Stearns
>  ****DISCLAIMER
> The information contained in this e-mail and attachments, if any, is
> confidential and may be subject to legal privilege. If you are not the
> intended recipient, you must not use, copy, distribute or disclose the
> e-mail and its attachment, or any part of its content or take any action in
> reliance of it. If you have received this e-mail in error, please e-mail the
> message back to the sender by replying and then deleting it. We cannot
> accept responsibility for loss or damage arising from the use of this e-mail
> or attachments, and recommend that you subject these to your virus checking
> procedures prior to use
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
>
>


-- 
-- Adrian
adrian.colyer@xxxxxxxxx

****DISCLAIMER
The information contained in this e-mail and attachments, if any, is confidential and may be subject to legal privilege.  If you are not the intended recipient, you must not use, copy, distribute or disclose the e-mail and its attachment, or any part of its content or take any action in reliance of it.  If you have received this e-mail in error, please e-mail the message back to the sender by replying and then deleting it.  We cannot accept responsibility for loss or damage arising from the use of this e-mail or attachments, and recommend that you subject these to your virus checking procedures prior to use

<<application/ms-tnef>>


Back to the top