Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-dev] RE: aspectj-dev Digest, Vol 6, Issue 6

Hi Andy,
Sorry for the late reply,

1. I raised it as a bug in aspectJ (Bug No:106130). But I'ven't got any
response so far.

2. We are using standard javac to compile.

3. Java Version is 1.4.2

4. All the 40 lines that I removed were the log statements .

5. I'm attaching the following things in my mail
Aspects- These aspects are quite simple. They just print a SOP before
and after a method call
Classes - There are 3 types of class files attached with this zip file
1)Original class file
2)Class files with strange behaviour that throw exception.
3)Class files that works fine after weaving
(but some line of codes(all log statements) were removed).

Hi andy kindly help me on this as my application highly depends on this

Regards,
Hari.






-----Original Message-----
From: aspectj-dev-bounces@xxxxxxxxxxx
[mailto:aspectj-dev-bounces@xxxxxxxxxxx] On Behalf Of
aspectj-dev-request@xxxxxxxxxxx
Sent: Friday, August 05, 2005 9:30 PM
To: aspectj-dev@xxxxxxxxxxx
Subject: aspectj-dev Digest, Vol 6, Issue 6

Send aspectj-dev mailing list submissions to
	aspectj-dev@xxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
	https://dev.eclipse.org/mailman/listinfo/aspectj-dev
or, via email, send a message with subject or body 'help' to
	aspectj-dev-request@xxxxxxxxxxx

You can reach the person managing the list at
	aspectj-dev-owner@xxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of aspectj-dev digest..."


Today's Topics:

   1. Re: Strange Happenings with AspectJ (Andy Clement)


----------------------------------------------------------------------

Message: 1
Date: Fri, 5 Aug 2005 09:03:25 +0100
From: Andy Clement <andrew.clement@xxxxxxxxx>
Subject: Re: [aspectj-dev] Strange Happenings with AspectJ
To: AspectJ developer discussions <aspectj-dev@xxxxxxxxxxx>
Message-ID: <689d61aa0508050103583657ee@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1

Hi,

Interesting problem.  I think its worth raising as an AspectJ bug.  It
would be nice to know a little more information:

- it works when you build everything from source, fails when you
binary weave.  So, what compiler are you using to build the source
when you do binary weaving, standard 'javac' ? the jdt compiler? And
what version of Java? 1.4? 1.5?  Given that AspectJ always weaves
bytecode (even if you give it source) it looks like it is a compiler
difference and the bytecode produced by one of the compilers is
choking the weaver.

- what version of ajc are you using?

- can we see the aspect involved?

- what was in the 40ish lines you removed to go down from 220 to 175,
just the same kind of result set processing code?

- if you do raise a bug, it would be useful to include the built
.class files if you can.  ideally the .class file resulting from javac
building your source (or whatever compiler you are using if its not
javac)  and the .class file resulting from using ajc to build your
source *without* including the aspect in the build.  between these two
we should be able to recognize what pattern in the bytecode causes
weaving to fail.

It shouldnt be related to the size of the method - we have guards in
place that check for any situation where methods are too big.

Andy.
---
Andy Clement
AspectJ Dev


------------------------------

_______________________________________________
aspectj-dev mailing list
aspectj-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-dev


End of aspectj-dev Digest, Vol 6, Issue 6
*****************************************


**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

Attachment: Sql.zip
Description: Sql.zip


Back to the top