Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 311220

Summary: methodLineTables data type provides information on synthetic methods
Product: z_Archived Reporter: Paul Klicnik <pklicnik>
Component: TPTPAssignee: Paul Klicnik <pklicnik>
Status: CLOSED INVALID QA Contact: Kathy Chan <kathy>
Severity: normal    
Priority: P2 CC: jgwest, pklicnik
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Paul Klicnik CLA 2010-04-30 13:35:44 EDT
methodLineTables data type provides information on synthetic methods

This is problematic because there is no source associated with synthetic methods. When using methodLineTables to identify the lines of code with blocks, including the synthetic methods essentially shifts the results
Comment 1 Paul Klicnik CLA 2010-05-03 10:08:58 EDT
This only seems to impact dynamic instrumentation. 

If I decompile a class instrumented statically, the methodLinesTable attribute is correct.
Comment 2 Paul Klicnik CLA 2010-05-05 08:21:27 EDT
Closing as invalid. The fact that probekit doesn't handle synthetic methods is irrelevant in this case. It turns out that invalid bytecode was being supplied to probekit (in the dynamic case). With that said, it's probably a good idea to add support for synthetic methods at some point ;)