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 125267 - Cannot modify variable of type java.lang.Boolean
Summary: Cannot modify variable of type java.lang.Boolean
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-15 10:16 UTC by _ bernihuber
Modified: 2010-04-29 09:37 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 _ bernihuber 2008-01-15 10:16:11 UTC
I'm not able to modify the value of a java.lang.Boolean variable in the window "Local variable" debugging window.

This problem occurs for all wrapper classes like java.lang.Double, etc 

It is somewhat inconvinient.

see also : http://www.netbeans.org/servlets/ReadMsg?list=nbusers&msgNo=108344
Comment 1 Martin Entlicher 2008-01-15 15:59:57 UTC
Reproduced. We can detect the wrapper classes.
Comment 2 Martin Entlicher 2008-01-25 15:49:25 UTC
Automatic autoboxing or unboxing is performed when setting variable values:

/shared/data/ccvs/repository/debuggerjpda/src/org/netbeans/modules/debugger/jpda/expr/EvaluatorVisitor.java,v  <-- 
EvaluatorVisitor.java
new revision: 1.17; previous revision: 1.16

/shared/data/ccvs/repository/debuggerjpda/src/org/netbeans/modules/debugger/jpda/models/AbstractVariable.java,v  <-- 
AbstractVariable.java
new revision: 1.54; previous revision: 1.53
Comment 3 Quality Engineering 2010-04-29 09:37:34 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.