Summary: | JavaConventions.validatePackageName() method does not seem to work properly | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Georgi Dimitrov <georgi.d.dimitrov> | ||||
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> | ||||
Status: | VERIFIED INVALID | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | Olivier_Thomann, thebravoman | ||||
Version: | 3.5 | ||||||
Target Milestone: | 3.5 M4 | ||||||
Hardware: | PC | ||||||
OS: | Windows Vista | ||||||
Whiteboard: | |||||||
Attachments: |
|
"com. sap" is a valid package name and "co m.sap" is an invalid package name. So I don't see what is wrong in this case. I updated org.eclipse.jdt.core.tests.model.JavaConventionTests#testValidPackageName with two new cases covering the cases you submitted. Closing as INVALID. Verified |
Created attachment 117662 [details] test Build ID: M20080911-1700 Steps To Reproduce: 1.Call the JavaConventions.validatePackageName() method with (for example) this package -> "com. sap", (or "com . sap . xxx") 2.The method indicates that the package name is valid. More information: I have attached a test.