commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Torsten Curdt (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SANDBOX-26) [jci] Eclipse compiler breaks if packages have capital letters
Date Mon, 05 Jun 2006 11:06:32 GMT
    [ http://issues.apache.org/jira/browse/SANDBOX-26?page=comments#action_12414732 ] 

Torsten Curdt commented on SANDBOX-26:
--------------------------------------

The eclipse implementation seems not to suffer from this problem

The NameEnvironment delegates the decission to the ClasspathLocation

 http://www.koders.com/java/fid2830E71E87881531470D44DDBA1F7C28ED8FB961.aspx?s=NameEnvironment
 http://www.koders.com/java/fid189A3E8E2D43C23F837072837B8C6F7BFA160FE2.aspx?s=ClasspathLocation

an example for the implementation is the ClasspathSourceDirectory

 http://www.koders.com/java/fid189A3E8E2D43C23F837072837B8C6F7BFA160FE2.aspx?s=ClasspathLocation

> [jci] Eclipse compiler breaks if packages have capital letters
> --------------------------------------------------------------
>
>          Key: SANDBOX-26
>          URL: http://issues.apache.org/jira/browse/SANDBOX-26
>      Project: Commons Sandbox
>         Type: Bug

>  Environment: Operating System: other
> Platform: Other
>     Reporter: Mark Proctor
>     Assignee: Torsten Curdt

>
> Although convention says we shouldn't put capitals in package names, this is not
> something that is enforced by the JVM and some users may do this. I don't think
> it should be jci enforcing that naming convention.
> See line 229 of EclipseJavaCompiler.
> if (Character.isUpperCase(packageName[0])) {
>     return false;
> }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message