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.
Summary: | Can't debug: com.sun.tools.jdi.ConnectorImpl$IntegerArgumentImpl cannot be cast to com.sun.jdi.connect.Connector$Argument | ||
---|---|---|---|
Product: | debugger | Reporter: | mclaborn <mclaborn> |
Component: | Java | Assignee: | Martin Entlicher <mentlicher> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 7.4 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
mclaborn
2013-12-20 23:11:02 UTC
This should not happen. com.sun.tools.jdi.ConnectorImpl.IntegerArgumentImpl implements com.sun.jdi.connect.Connector.IntegerArgument And Connector.IntegerArgument extends Connector.Argument. Therefore it's valid to cast it to Connector.Argument. I've removed the unnecessary extra cast to (Argument) and use IntegerArgument when available. Hope that helps. changeset: 269976:1fc2569f976e http://hg.netbeans.org/core-main/rev/1fc2569f976e Integrated into 'main-silver', will be available in build *201401030002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/1fc2569f976e User: mentlicher@netbeans.org Log: #239715: Remove the extra cast to (Argument) and use an IntegerArgument when available. |