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 120956 - Incorrect Avg. Age values are shown Liveness Comparison
Summary: Incorrect Avg. Age values are shown Liveness Comparison
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-02 13:21 UTC by Alexander Kouznetsov
Modified: 2007-11-02 16:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Snapshot 1 (14.22 KB, application/octet-stream)
2007-11-02 13:22 UTC, Alexander Kouznetsov
Details
Snapshot 2 (34.90 KB, application/octet-stream)
2007-11-02 13:23 UTC, Alexander Kouznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kouznetsov 2007-11-02 13:21:58 UTC
Product Version: NetBeans IDE Dev (Build 200711011200)
Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b06
System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)

Steps to reproduce:
- Compare attached snapshots
- Check Avg. Age of javax.swing.KeyStroke class
- RESULT: It is either +0.9 or -1.1. The latter one is not correct.
Comment 1 Alexander Kouznetsov 2007-11-02 13:22:54 UTC
Created attachment 52359 [details]
Snapshot 1
Comment 2 Alexander Kouznetsov 2007-11-02 13:23:26 UTC
Created attachment 52360 [details]
Snapshot 2
Comment 3 Jiri Sedlacek 2007-11-02 16:41:44 UTC
Thanks for catching it! Caused by incorrect number conversion at the presentation layer.

Fixed in trunk.


/cvs/profiler/libs/jfluid-ui/src/org/netbeans/lib/profiler/ui/memory/DiffLivenessResultsPanel.java,v  <-- 
DiffLivenessResultsPanel.java
new revision: 1.2; previous revision: 1.1