Bug 15051 - Synthetic access methods are not reported to be synthetic
Summary: Synthetic access methods are not reported to be synthetic
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: Other other
: P3 normal (vote)
Target Milestone: 2.0 M6   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-01 18:09 EDT by Olivier Thomann CLA
Modified: 2002-05-14 08:56 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 Olivier Thomann CLA 2002-05-01 18:09:16 EDT
In this test case, the access$0 method is not reported as being synthetic. It should be the case. It 
seems that the problem comes from the MethodInfo.isSynthetic() method.
Comment 1 Olivier Thomann CLA 2002-05-01 18:10:02 EDT
The test case is:
public class A010 {
	private int i = 6;
	public int foo() {
		class A 
{
			int get() {
				return i;
			}
		}
		return new A().get();
	}
}
Comment 2 Olivier Thomann CLA 2002-05-01 18:26:28 EDT
Fix and released in HEAD.