Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311220 - methodLineTables data type provides information on synthetic methods
Summary: methodLineTables data type provides information on synthetic methods
Status: CLOSED INVALID
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: Paul Klicnik CLA
QA Contact: Kathy Chan CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-30 13:35 EDT by Paul Klicnik CLA
Modified: 2016-05-05 10:47 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ;)