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: | Method.bytecodes() might be an unsupported operation | ||
---|---|---|---|
Product: | debugger | Reporter: | Martin Entlicher <mentlicher> |
Component: | Java | Assignee: | Martin Entlicher <mentlicher> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | mmirilovic, mryzl |
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | The patch |
Description
Martin Entlicher
2007-11-22 10:30:16 UTC
We need to check VirtualMachine.canGetBytecodes(). The problem is fixed in trunk: /shared/data/ccvs/repository/debuggerjpda/src/org/netbeans/modules/debugger/jpda/ExpressionPool.java,v <-- ExpressionPool.java new revision: 1.5; previous revision: 1.4 Increasing priority to P1 since this is important issue that should be fixed in NB 6.0 otherwise users will need to use older version to debug the latest phone stack delivered by Sun. Verified in dev build. http://bits.netbeans.org/download/trunk/nightly/latest/start.html?bundles/netbeans-trunk-nightly-200711250000-mobility-windows.exe Agreed with WTK team - this is stopper for NB 6.0. mentlicher, please prepare the patch for release60 branch and ask for review. Thanks in advance. Created attachment 53473 [details]
The patch
I reviewed the patch. The patch is simple and seems to solve the described problem without any side effect. Thanks for the review, the fix is merged into release60 branch: /shared/data/ccvs/repository/debuggerjpda/src/org/netbeans/modules/debugger/jpda/ExpressionPool.java,v <-- ExpressionPool.java new revision: 1.4.4.1; previous revision: 1.4 Thank you Martin for your fast and professional solution. |