This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 61079 - Static class initializer is not included in profiling results
Summary: Static class initializer is not included in profiling results
Status: CLOSED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 4.x
Hardware: All All
: P4 blocker (vote)
Assignee: iformanek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-18 13:43 UTC by iformanek
Modified: 2007-02-20 18:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description iformanek 2005-07-18 13:43:06 UTC
If a class contains static initializer block ("<clinit>"), its results are not 
visible in CPU results.

E.g.:
public class WorkingDir {    
  static {
    System.out.println ("Test <clinit>");
  }

  public static void main (String[] args) {
    System.out.println("Test main");
  }
}
Comment 1 iformanek 2005-08-04 09:23:29 UTC
The <clinit> is regularly included, but in this specific case it is not.
Comment 2 iformanek 2005-10-21 15:55:27 UTC
This has been fixed in M10, as part of entire app profiling root methods change
Comment 3 ehucka 2006-10-09 12:09:16 UTC
Verification of old issues.
Comment 4 Alexander Kouznetsov 2007-02-20 10:26:12 UTC
Closing old issues
Comment 5 Alexander Kouznetsov 2007-02-20 18:09:38 UTC
Reverting to original Target Milestone value changed by mistake. Sorry for
inconvenience.