Yes, you put it exactly right. When I recompile the same sources, the last of 8 bytes seems to change in at least some classes. I am trying to figure out why and whether this can be mitigated in any way. I have tried to disable lines altogether using -g parameter, but it seems that other parts of the compiler blow up (org.aspectj.bridge.SourceLocation.validLine() throws IllegalArgumentException)
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Andy Clement Sent: Monday, November 07, 2011 18:54 To: [email protected] Subject: Re: [aspectj-users] MethodDeclarationLineNumber question Hi Aleksey, What do you want to solve? You want to remove then or know what they are? The MethodDeclarationLineNumber attribute is a pair of ints. The first is the line number, the second is the offset of the declaration (from the start of the file). Together this makes 8 bytes in the classfile. When you say 'random' are you finding as you compile the same source over and over, they change? cheers, Andy On 7 November 2011 14:40, Aleksey Ratushnyy <[email protected]> wrote: > Hi, > > > > I am using aspect/j and it seems that often > org.aspectj.weaver.MethodDeclarationLineNumber tag is written into a class > file, the last byte of the 8 data bytes is random. > > > > Does anyone know why this problem exists and how to solve it? > > > > Thanks > > > > Aleksey > > CONFIDENTIALITY NOTICE: This message (including any attachments) is intended > solely for the use of GFI Group Inc., its affiliates and the individual > addressee(s). This message may contain confidential and/or private > information privileged to recipient or recipients named above. If you are > not the authorized recipient(s), or the employee or agent responsible for > delivering this message to the intended recipient(s), please immediately > notify the sender by e-mail at the address shown above and delete this > message from your system, other storage mechanism and/or shred the document > and any attachments. Any unauthorized use, review or dissemination of this > message in whole or in part by persons or entities other than the intended > recipient is strictly prohibited. GFI Group Inc. shall not be liable for the > improper or incomplete transmission of the information contained in this > communication nor for any delay in its receipt or damage to your system. > > _______________________________________________ > aspectj-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/aspectj-users > > _______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users _______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users
