You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2007/12/17 10:02:43 UTC

[jira] Created: (GERONIMO-3710) Need to fully convert to generics to avoid CCE -- a dumb example

Need to fully convert to generics to avoid CCE -- a dumb example
----------------------------------------------------------------

                 Key: GERONIMO-3710
                 URL: https://issues.apache.org/jira/browse/GERONIMO-3710
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: deployment
    Affects Versions: 2.0.1
            Reporter: David Jencks
            Assignee: David Jencks
             Fix For: 2.1


A user found a way to discover we were stashing both strings and files in a collection of stuff that can't be deleted.
Caused by: java.lang.ClassCastException: java.io.File
	at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.cleanupConfigurationDir(EARConfigBuilder.java:694)
	at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.cleanupContext(EARConfigBuilder.java:681)




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (GERONIMO-3710) Need to fully convert to generics to avoid CCE -- a dumb example

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Jencks closed GERONIMO-3710.
----------------------------------

    Resolution: Fixed

This specific problem fixed in trunk rev 604800.  There's plenty more non-generic code and no doubt plenty of similar errors.

> Need to fully convert to generics to avoid CCE -- a dumb example
> ----------------------------------------------------------------
>
>                 Key: GERONIMO-3710
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3710
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 2.0.1
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: 2.1
>
>
> A user found a way to discover we were stashing both strings and files in a collection of stuff that can't be deleted.
> Caused by: java.lang.ClassCastException: java.io.File
> 	at
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.cleanupConfigurationDir(EARConfigBuilder.java:694)
> 	at
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.cleanupContext(EARConfigBuilder.java:681)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.