| Summary: | [1.8] isMainMethod(IMethod) should consider the default Public modifier for main method in interface | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Sarika Sinha <sarika.sinha> | ||||
| Component: | Core | Assignee: | Jay Arthanareeswaran <jarthana> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | daniel.dietrich, daniel_megert, Michael_Rennie, srikanth_sankaran | ||||
| Version: | 4.3.1 | Flags: | srikanth_sankaran:
review+
|
||||
| Target Milestone: | BETA J8 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Sarika Sinha
Jay, thanks for following up. Created attachment 239952 [details]
Fix with tests
Just to clarify, the method in an interface will be considered only when it's static and not 'default'.
*** Bug 428122 has been marked as a duplicate of this bug. *** Patch looks good, Thanks Jay. Please make these corrections and release: (1) Copyright in the new file should not mention 2000 (2) Do we want to use full JCL ? I think not. I worry that this will add up to indexing costs. (the reason it is needed in CompletionTests18 and ResolveTests18 is because in the absence of it, it is a hugely painful chore having to transform submitter provided snippets into something that will work within JCLMIN.) Thanks! Thanks Srikanth. Released via: http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/?h=BETA_JAVA8&id=8110fc486d3702b464fac7cbd52796cfda9c4f57 Verified as working for Eclipse + Java 8 RC1 using Kepler SR1 + Eclipse Java Development Tools Patch for Java 8 Support (BETA) 1.0.0.v20140220-2054 |