Re: Plastic: Test that 2 object references are equal

2012-09-14 Thread Howard Lewis Ship
Currently, there isn't a way to perform a == using the bytecode API. On Tue, Sep 4, 2012 at 9:03 AM, Josh Canfield wrote: > Perhaps I don't understand what you mean by using plastic. Plastic doesn't > change how equality works. == is reference compare, use .equals if they are > objects. Are you t

Re: Plastic: Test that 2 object references are equal

2012-09-04 Thread Josh Canfield
Perhaps I don't understand what you mean by using plastic. Plastic doesn't change how equality works. == is reference compare, use .equals if they are objects. Are you trying to inject .equals into a transformed object? On Mon, Sep 3, 2012 at 1:39 AM, Thim Anneessens wrote: > Hi Josh, > > I am t

Re: Plastic: Test that 2 object references are equal

2012-09-03 Thread Thim Anneessens
Hi Josh,   I am trying to generate byte-code that will test if 2 object references are equal using Plastic. Thanks. Thim. On 08/25/2012 05:13 PM, Josh Canfield wrote: Hi Thim. Your question doesn't make any sense. What ar

Re: Plastic: Test that 2 object references are equal

2012-08-25 Thread Josh Canfield
Hi Thim. Your question doesn't make any sense. What are you trying to do at a higher level? Josh On Aug 24, 2012 2:03 PM, "Thim Anneessens" wrote: > Hello, > > I am wondering how to achieve the following java code in plastic: > > Object a,b; > if(a==b) > // Do something > else > // Do somet

Plastic: Test that 2 object references are equal

2012-08-24 Thread Thim Anneessens
Hello, I am wondering how to achieve the following java code in plastic: Object a,b; if(a==b) // Do something else // Do something else Does anybody know how? Best regards, Thim. - To unsubscribe, e-mail: users-unsubscr..