You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Justine Blackmore Hlista (JIRA)" <ji...@apache.org> on 2007/01/08 21:55:27 UTC

[jira] Commented: (SANDBOX-26) [jci] Eclipse compiler breaks if packages have capital letters

    [ https://issues.apache.org/jira/browse/SANDBOX-26?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463126 ] 

Justine Blackmore Hlista commented on SANDBOX-26:
-------------------------------------------------

This problem gets exposed when using JBoss Rules and loading/compiling rules at runtime that use classes from packages that have caps. We can't depend on convention since our clients will (hopefully) be writing the business objects and business rules and may have funny notions about package names. 

> [jci] Eclipse compiler breaks if packages have capital letters
> --------------------------------------------------------------
>
>                 Key: SANDBOX-26
>                 URL: https://issues.apache.org/jira/browse/SANDBOX-26
>             Project: Commons Sandbox
>          Issue Type: Bug
>          Components: JCI
>         Environment: Operating System: other
> Platform: Other
>            Reporter: Mark Proctor
>         Assigned To: 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: https://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