Bug 37311 - final keyword ignored for a public static final declaration
Summary: final keyword ignored for a public static final declaration
Status: RESOLVED DUPLICATE of bug 37304
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Jim Hugunin CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-06 23:45 EDT by Rajesh Honnawarkar CLA
Modified: 2003-05-07 00:48 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rajesh Honnawarkar CLA 2003-05-06 23:45:13 EDT
I am using 1.0.6 and have a Serializable class. This class has a public final 
static member. When I compile through ajc it seems to ignore the "final" keyword
(i.e, if I decompile the class generated by ajc, I dont see the final keyword). 
This can cause the class version to change and results in a 
InvalidClassException
Comment 1 Jim Hugunin CLA 2003-05-07 00:48:47 EDT
See comments on the duplicate bug #37304.  We've fixed this in the 1.1 branch 
but don't intend to do any more maintenance work on 1.0.6.

*** This bug has been marked as a duplicate of 37304 ***