Summary: | Cannot use word 'abstract' in a package name | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Sandeep Gupta <sandy.pec> |
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> |
Status: | VERIFIED INVALID | QA Contact: | |
Severity: | major | ||
Priority: | P3 | CC: | Olivier_Thomann, remy.suen, srikanth_sankaran |
Version: | 3.4.2 | ||
Target Milestone: | 3.5 M7 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Sandeep Gupta
2009-03-26 04:55:21 EDT
(In reply to comment #0) > Steps To Reproduce: > 1. Create a new Java project. > 2. Add a package say, org.eclipse.test > 3. try adding a class to a sub package say MyTest.java in package > org.eclipse.test.abstract > 4. The following error message is displayed. > > "Package name is not valid. 'abstract' is not a valid Java identifier" I think the error message makes it pretty clear that using 'abstract' as part of a a package name is invalid. "abstract" is a keyword. As is it cannot be used as a java identifier (part of a package name. Closing as INVALID. Verified to be INVALID |