Community
Participate
Working Groups
Build ID: Version: 3.4.2 Build id: M20090211-1700 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" More information: Eclipse fails to recognize Java classes in a package that has a folder called 'abstract' in its package heirarchy.
(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