Summary: | [builder] NPE when adding 'package-info.java' to default package | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Dani Megert <daniel_megert> | ||||
Component: | Core | Assignee: | Srikanth Sankaran <srikanth_sankaran> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | amj87.iitr, Olivier_Thomann | ||||
Version: | 3.5 | Flags: | amj87.iitr:
review+
|
||||
Target Milestone: | 3.7 M2 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Dani Megert
2010-08-27 02:58:26 EDT
Srikanth, could you investigate? Thanks Since package-info.java file in the default package cannot contain a package declaration, there cannot be any package level annotations or documentation that can have a bearing on any other elements of the package. So really there are no dependants to add. (Any secondary type in package info tracks its own dependants). Patch to avoid NPE will follow shortly. Created attachment 177816 [details]
Proposed patch
Passes all tests.
Ayush, please review, TIA. Patch looks good. Released in HEAD for 3.7 M2 Verified in I20100914-0100. Verified for 3.7M2 using I20100914-0100. Adjusted copyright in test. |