You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Ruben Jenster (JIRA)" <ji...@codehaus.org> on 2012/10/02 16:33:35 UTC

[jira] (MNG-5355) Case sensitivity changes in class names not detected by compiler

Ruben Jenster created MNG-5355:
----------------------------------

             Summary: Case sensitivity changes in class names not detected by compiler
                 Key: MNG-5355
                 URL: https://jira.codehaus.org/browse/MNG-5355
             Project: Maven 2 & 3
          Issue Type: Bug
    Affects Versions: 3.0.3
         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
Maven home: /usr/share/maven
Java version: 1.6.0_35, vendor: Apple Inc.
Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x", version: "10.7.5", arch: "x86_64", family: "mac"
            Reporter: Ruben Jenster
            Priority: Minor
         Attachments: compile.log

The compiler doesn't detect case sensitivity changes in class names.
The renamed class is not compiled.

1. Create a class named FooBAR
2. execute 'mvn compile'
3. Rename FooBAR to FooBar
4. execute 'mvn compile'
5. target/classes/FooBar.class does not exist

Is this expected behaviour? Is a clean always required here?


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MCOMPILER-182) Case sensitivity changes in class names not detected by compiler

Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MCOMPILER-182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte closed MCOMPILER-182.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.6
         Assignee: Robert Scholte

Fixed as part of MCOMPILER-21.
I've added an IT in [r1393086|http://svn.apache.org/viewvc?rev=1393086&view=rev] to be sure this won't happen again.
We're working on more solid compilations, this is a very nice usecase to verify our improvements.
Thanks.
                
> Case sensitivity changes in class names not detected by compiler
> ----------------------------------------------------------------
>
>                 Key: MCOMPILER-182
>                 URL: https://jira.codehaus.org/browse/MCOMPILER-182
>             Project: Maven 2.x Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 2.3.2
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
> Maven home: /usr/share/maven
> Java version: 1.6.0_35, vendor: Apple Inc.
> Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
> Default locale: en_US, platform encoding: MacRoman
> OS name: "mac os x", version: "10.7.5", arch: "x86_64", family: "mac"
>            Reporter: Ruben Jenster
>            Assignee: Robert Scholte
>            Priority: Minor
>             Fix For: 2.6
>
>         Attachments: compile.log
>
>
> The compiler doesn't detect case sensitivity changes in class names.
> The renamed class is not compiled.
> 1. Create a class named FooBAR
> 2. execute 'mvn compile'
> 3. Rename FooBAR to FooBar
> 4. execute 'mvn compile'
> 5. target/classes/FooBar.class does not exist
> Is this expected behaviour? Is a clean always required here?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MCOMPILER-182) Case sensitivity changes in class names not detected by compiler

Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MCOMPILER-182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte moved MNG-5355 to MCOMPILER-182:
-----------------------------------------------

           Complexity:   (was: Intermediate)
    Affects Version/s:     (was: 3.0.3)
                       2.3.2
                  Key: MCOMPILER-182  (was: MNG-5355)
              Project: Maven 2.x Compiler Plugin  (was: Maven 2 & 3)
    
> Case sensitivity changes in class names not detected by compiler
> ----------------------------------------------------------------
>
>                 Key: MCOMPILER-182
>                 URL: https://jira.codehaus.org/browse/MCOMPILER-182
>             Project: Maven 2.x Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 2.3.2
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
> Maven home: /usr/share/maven
> Java version: 1.6.0_35, vendor: Apple Inc.
> Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
> Default locale: en_US, platform encoding: MacRoman
> OS name: "mac os x", version: "10.7.5", arch: "x86_64", family: "mac"
>            Reporter: Ruben Jenster
>            Priority: Minor
>         Attachments: compile.log
>
>
> The compiler doesn't detect case sensitivity changes in class names.
> The renamed class is not compiled.
> 1. Create a class named FooBAR
> 2. execute 'mvn compile'
> 3. Rename FooBAR to FooBar
> 4. execute 'mvn compile'
> 5. target/classes/FooBar.class does not exist
> Is this expected behaviour? Is a clean always required here?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira