Bug 155213 - [ltw] can get into a state with the Version static initializer
Summary: [ltw] can get into a state with the Version static initializer
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: DEVELOPMENT   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 1.5.3   Edit
Assignee: Andrew Clement CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-25 08:34 EDT by Andrew Clement CLA
Modified: 2006-09-25 09:13 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 Andrew Clement CLA 2006-08-25 08:34:30 EDT
The static initializer in Version that parses the time_text string and turns it into a long field seems to sometimes get loadtime weaving into a state - touching DateFormatters early on is always a pain, so I'm moving it to be processed on first reference.  I could take it a step further ... if WeaverStateInfo didn't write out the time (it doesnt read it back in!!) it would never be used at all in normal processing - potentially saving us from loading a bunch of underpinning junk to do the formatting...
Comment 1 Andrew Clement CLA 2006-08-25 08:38:16 EDT
fixes committed
Comment 2 Andrew Clement CLA 2006-09-25 09:13:32 EDT
as he says, fixes committed.