Bug 21308 - Method.isObsolete() broken for method ID 0 on JDK < 1.4
Summary: Method.isObsolete() broken for method ID 0 on JDK < 1.4
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 2.0   Edit
Hardware: Other All
: P3 normal (vote)
Target Milestone: 2.0.1   Edit
Assignee: Darin Swanson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-08 10:43 EDT by Jared Burns CLA
Modified: 2002-07-23 15:15 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jared Burns CLA 2002-07-08 10:43:59 EDT
Our current implementation of the JDI method Method.isObsolete() just returns 
MethodID == 0. This is valid for JDWP 1.4, but not for earlier versions. 
Before HCR existed, method id 0 was a valid method ID. Furthermore, a method 
can not be obsolete on JDK < 1.4
Comment 1 Jared Burns CLA 2002-07-08 10:45:33 EDT
Fixed. Please verify.
Comment 2 Darin Swanson CLA 2002-07-15 14:21:40 EDT
Verified code.
Comment 3 Darin Wright CLA 2002-07-23 15:15:09 EDT
Fix released to 2.0.1 and HEAD (2.1)