| Summary: | [1.8][compiler] can't resolve java.lang.annotation.Annotation from source | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Markus Keller <markus.kell.r> | ||||
| Component: | Core | Assignee: | Srikanth Sankaran <srikanth_sankaran> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | srikanth_sankaran, stephan.herrmann | ||||
| Version: | 4.4 | ||||||
| Target Milestone: | BETA J8 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | 419331 | ||||||
| Bug Blocks: | 427787 | ||||||
| Attachments: |
|
||||||
|
Description
Markus Keller
(In reply to Markus Keller from comment #0) > ECJ should generally be able to compile a complete rt.jar from source. Hmm, we are not hitting this problem in https://bugs.eclipse.org/bugs/show_bug.cgi?id=427787, unless https://bugs.eclipse.org/bugs/show_bug.cgi?id=428307 has something to with this. Stephan, something to bear in mind. Apparently happens only on ECJ runs without JRE - In the IDE we are building with rt.jar in the build path with class path order ensuring that sources get picked up first - that could explain it. Thanks Markus, Fix and test released here: http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/?h=BETA_JAVA8&id=78bbbeed8347e023a39893a354552d3196a82094 Basically I mended the original fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=419331 to not overeagerly try to resolve jlaA. |