You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Dušan Mamrilla (JIRA)" <ji...@apache.org> on 2007/08/16 21:39:30 UTC

[jira] Created: (CXF-915) ASM3.0 dependency affects spring 2.0 functionality

ASM3.0 dependency affects spring 2.0 functionality
--------------------------------------------------

                 Key: CXF-915
                 URL: https://issues.apache.org/jira/browse/CXF-915
             Project: CXF
          Issue Type: Bug
    Affects Versions: 2.0.1
         Environment: sun java6, spring 2.0.6
            Reporter: Dušan Mamrilla
            Priority: Critical


ASM 3.0 causing serious troubles in using springframework because of changed signature of constructor org.objectweb.asm.ClassWriter(parameter changed from boolean to int). As I am aware spring is using ASM 2.2.2 and in further release (v2.1)  will be using ASM 2.2.3. Therefore I suggest fall back dependency to  ASM 2.2.x. 

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


[jira] Updated: (CXF-915) ASM3.0 dependency affects spring 2.0 functionality

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

Dan Diephouse updated CXF-915:
------------------------------

    Fix Version/s: 2.1
                   2.0.2

> ASM3.0 dependency affects spring 2.0 functionality
> --------------------------------------------------
>
>                 Key: CXF-915
>                 URL: https://issues.apache.org/jira/browse/CXF-915
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.0.1
>         Environment: sun java6, spring 2.0.6
>            Reporter: Dušan Mamrilla
>            Assignee: Daniel Kulp
>             Fix For: 2.0.2, 2.1
>
>
> ASM 3.0 causing serious troubles in using springframework because of changed signature of constructor org.objectweb.asm.ClassWriter(parameter changed from boolean to int). As I am aware spring is using ASM 2.2.2 and in further release (v2.1)  will be using ASM 2.2.3. Therefore I suggest fall back dependency to  ASM 2.2.x. 

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


[jira] Commented: (CXF-915) ASM3.0 dependency affects spring 2.0 functionality

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12520524 ] 

Daniel Kulp commented on CXF-915:
---------------------------------

Just FYI:   the ASM use in CXF is completely optional (although not marked as optional in the pom).   If ASM is not found or there is a problem with ASM, it falls back to a slower reflection based routine.   Thus, you should be able to exclude the asm from the jaxws dependency just fine and everything should work.   I'll check if ASM 2.2.x will work or not. If so, I'll drop the version to 2.2.3.

> ASM3.0 dependency affects spring 2.0 functionality
> --------------------------------------------------
>
>                 Key: CXF-915
>                 URL: https://issues.apache.org/jira/browse/CXF-915
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.0.1
>         Environment: sun java6, spring 2.0.6
>            Reporter: Dušan Mamrilla
>
> ASM 3.0 causing serious troubles in using springframework because of changed signature of constructor org.objectweb.asm.ClassWriter(parameter changed from boolean to int). As I am aware spring is using ASM 2.2.2 and in further release (v2.1)  will be using ASM 2.2.3. Therefore I suggest fall back dependency to  ASM 2.2.x. 

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


[jira] Resolved: (CXF-915) ASM3.0 dependency affects spring 2.0 functionality

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

Daniel Kulp resolved CXF-915.
-----------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.1)

> ASM3.0 dependency affects spring 2.0 functionality
> --------------------------------------------------
>
>                 Key: CXF-915
>                 URL: https://issues.apache.org/jira/browse/CXF-915
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.0.1
>         Environment: sun java6, spring 2.0.6
>            Reporter: Dušan Mamrilla
>            Assignee: Daniel Kulp
>             Fix For: 2.0.2
>
>
> ASM 3.0 causing serious troubles in using springframework because of changed signature of constructor org.objectweb.asm.ClassWriter(parameter changed from boolean to int). As I am aware spring is using ASM 2.2.2 and in further release (v2.1)  will be using ASM 2.2.3. Therefore I suggest fall back dependency to  ASM 2.2.x. 

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


[jira] Commented: (CXF-915) ASM3.0 dependency affects spring 2.0 functionality

Posted by "Dušan Mamrilla (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12520496 ] 

Dušan Mamrilla commented on CXF-915:
------------------------------------

I must take back words "serious troubles" and lower the priority. My problems were caused most probably by the hibernate incompatibility with asm 3.0/2.2.x.

Now I am not sure whether  asm 3.0 affects the spring functionality, but as some api changed in new ASM 3.0 it is possible. Therefore it would be wise to depend on the same asm version as spring does. ASM itself doesn't guarantee backward compatibility.

> ASM3.0 dependency affects spring 2.0 functionality
> --------------------------------------------------
>
>                 Key: CXF-915
>                 URL: https://issues.apache.org/jira/browse/CXF-915
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.0.1
>         Environment: sun java6, spring 2.0.6
>            Reporter: Dušan Mamrilla
>            Priority: Critical
>
> ASM 3.0 causing serious troubles in using springframework because of changed signature of constructor org.objectweb.asm.ClassWriter(parameter changed from boolean to int). As I am aware spring is using ASM 2.2.2 and in further release (v2.1)  will be using ASM 2.2.3. Therefore I suggest fall back dependency to  ASM 2.2.x. 

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


[jira] Updated: (CXF-915) ASM3.0 dependency affects spring 2.0 functionality

Posted by "Dušan Mamrilla (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dušan Mamrilla updated CXF-915:
-------------------------------

    Priority: Major  (was: Critical)

> ASM3.0 dependency affects spring 2.0 functionality
> --------------------------------------------------
>
>                 Key: CXF-915
>                 URL: https://issues.apache.org/jira/browse/CXF-915
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.0.1
>         Environment: sun java6, spring 2.0.6
>            Reporter: Dušan Mamrilla
>
> ASM 3.0 causing serious troubles in using springframework because of changed signature of constructor org.objectweb.asm.ClassWriter(parameter changed from boolean to int). As I am aware spring is using ASM 2.2.2 and in further release (v2.1)  will be using ASM 2.2.3. Therefore I suggest fall back dependency to  ASM 2.2.x. 

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


[jira] Assigned: (CXF-915) ASM3.0 dependency affects spring 2.0 functionality

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

Daniel Kulp reassigned CXF-915:
-------------------------------

    Assignee: Daniel Kulp

> ASM3.0 dependency affects spring 2.0 functionality
> --------------------------------------------------
>
>                 Key: CXF-915
>                 URL: https://issues.apache.org/jira/browse/CXF-915
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.0.1
>         Environment: sun java6, spring 2.0.6
>            Reporter: Dušan Mamrilla
>            Assignee: Daniel Kulp
>
> ASM 3.0 causing serious troubles in using springframework because of changed signature of constructor org.objectweb.asm.ClassWriter(parameter changed from boolean to int). As I am aware spring is using ASM 2.2.2 and in further release (v2.1)  will be using ASM 2.2.3. Therefore I suggest fall back dependency to  ASM 2.2.x. 

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


[jira] Commented: (CXF-915) ASM3.0 dependency affects spring 2.0 functionality

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12520621 ] 

Daniel Kulp commented on CXF-915:
---------------------------------

OK, I'm wrong.    It's doesn't actually work correctly.   In most cases, it will work if ASM is not available at all, but if an older ASM is found, it doesn't work properly.   I have some fixes going in that will allow it to work with either ASM 2.2.x or 3.x.    It will also detect if it's 1.5.x and if so, properly do the fallback.



> ASM3.0 dependency affects spring 2.0 functionality
> --------------------------------------------------
>
>                 Key: CXF-915
>                 URL: https://issues.apache.org/jira/browse/CXF-915
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.0.1
>         Environment: sun java6, spring 2.0.6
>            Reporter: Dušan Mamrilla
>            Assignee: Daniel Kulp
>
> ASM 3.0 causing serious troubles in using springframework because of changed signature of constructor org.objectweb.asm.ClassWriter(parameter changed from boolean to int). As I am aware spring is using ASM 2.2.2 and in further release (v2.1)  will be using ASM 2.2.3. Therefore I suggest fall back dependency to  ASM 2.2.x. 

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