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 188786 - Sequence type is not correctly defined in the Variables window
Summary: Sequence type is not correctly defined in the Variables window
Status: VERIFIED WORKSFORME
Alias: None
Product: javafx
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Michal Skvor
URL:
Keywords:
Depends on:
Blocks: 173187
  Show dependency tree
 
Reported: 2010-07-20 11:42 UTC by Alexandr Scherbatiy
Modified: 2010-07-28 15:46 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 Alexandr Scherbatiy 2010-07-20 11:42:53 UTC
Product Version         = NetBeans IDE 6.9.1 Dev (Build 201007182301)
(#b9d3fe81e7a7)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_20; Java HotSpot(TM) Client VM 16.3-b01; Sun
Microsystems Inc.


Steps to reproduce:
- Copy the code to the editor:
------------------------------------
var circles = [Circle { radius: 100 } Circle { radius: 200 }];
var i = 3;
------------------------------------

- Set a breakpoint to the last line
- Debug the project

The circles variable has 'Object[]' type in the Variables window inspite
the Navigator shows 'circle:javafx.scene.shape.Circle[]'
Comment 1 Michal Skvor 2010-07-28 15:29:20 UTC
During the runtime there are only sequence for primitive types like Integer[], Number[] etc. and Object[] which is for all object types sequence therefore Object[] sequence representation for Circle objects is correct.
Comment 2 Alexandr Scherbatiy 2010-07-28 15:46:34 UTC
verified