Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 108151

Summary: Can't rename default package.
Product: [Eclipse Project] JDT Reporter: Brian Miller <bmiller>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: minor    
Priority: P3 CC: daniel_megert
Version: 3.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Brian Miller CLA 2005-08-26 12:58:32 EDT
Because the default package can't be imported, a programmer may want to rename 
it.  But Eclipse doesn't allow such.
Comment 1 Dirk Baeumer CLA 2005-08-29 05:38:00 EDT
You can't rename the default package since it is implicitly given by the package
fragment root (after a rename it would still exist which would look strange to
me). You can move the files from the default package to the other package.

Please also note that the default package is discouraged/deprecated since Java 1.4.
Comment 2 Dani Megert CLA 2012-12-12 03:22:42 EST
.

*** This bug has been marked as a duplicate of bug 8852 ***