[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [aspectj-users] Modified classes of the Jar files in Inpath (which shouldn't be modified)
- From: "Andy Clement" <andrew.clement@xxxxxxxxx>
- Date: Tue, 27 Feb 2007 13:45:48 +0000
- Delivered-to: firstname.lastname@example.org
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=M3kC9XCdoWrvZ747hA/CtCNo4+IXeduxeRE1ulOnx/G5rYuZ8LyC7NQNFx+X5kkpxaRQuylMs5ZRL8tp8skbXuajRRUd+z6MqiGmp9dy9qxUoo3lPAeuRhtYiNrxpj4jwgrNUe9RpFSISnLvBQCE1iiXmuSZUFr987PvvZxYzl0=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=VrheAwp0mPikobGhjguonzeK3+kgq3Wa3AvFCBZ5p7sxSI8ecncRiTX1ENOWbItIKKRSYu6Aswv7QINfc56unnlj0WEDboufAN4m/uZJrh6xSVzAMFiwLnWMpcM//ZLnYhqXPb60yfp+KcFYsysRkX2+d9muWp1iV5d8Sj4bI+0=
some of these questions aren't really appropriate for the users list
(better on dev)... but anyway:
So there still remains some questions for me:
1. Why does Jad create the same java files when they are decompiled?
Jad doesn't show you the attributes, which is what these all are.
2. Why are these instructions added even though this class is not advised by
attributes are added to files touched by the weaver - you are correct
this file is being touched because the aspect refers to it, however
I've just modified the compiler so that in your case this will no
longer happen (it doesnt need to in this case).
3. What is the LineNumberTable thing for? (curious)
Some code coverage tools can't cope when line number tables are not
included for methods. However, depending on what these are attached
to (you didnt say... empty methods?), we may have a 'bug' with putting
them in too many places.
4. What is the binary stuff at the top? (curious)
weaverversion is ..... the version of the weaver that touched the
type, exists for supporting backwards compatibility.
weaverstate is ... the state of the weaver at the time this file was
touched (ie. what aspects caused it to be touched, etc).
5. Is it possible to stop this class from being modified,
yes, done - will be in next dev build.