Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 120313 Details for
Bug 258653
crash weaving staticinitialization
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
simply using staticinitialization
MyType.java (text/plain), 293 bytes, created by
mauro
on 2008-12-12 08:15:02 EST
(
hide
)
Description:
simply using staticinitialization
Filename:
MIME Type:
Creator:
mauro
Created:
2008-12-12 08:15:02 EST
Size:
293 bytes
patch
obsolete
>import org.aspectj.lang.annotation.After; >import org.aspectj.lang.annotation.Aspect; > >@Aspect >class staticinit { > @After("staticinitialization(MyType)") > public void print(){ > System.out.println("INITIALIZED"); > } >} > >public class MyType { > public static void main(){ > new MyType(); > } >} > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 258653
: 120313