You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Ankur Avlani (JIRA)" <ji...@apache.org> on 2011/05/12 00:27:47 UTC

[jira] [Created] (AXIS2-5033) WSDL2Java produces code that causes javac to fail with "code to large" in axis2-1.5.4

WSDL2Java produces code that causes javac to fail with "code to large" in axis2-1.5.4
-------------------------------------------------------------------------------------

                 Key: AXIS2-5033
                 URL: https://issues.apache.org/jira/browse/AXIS2-5033
             Project: Axis2
          Issue Type: Bug
          Components: codegen
    Affects Versions: 1.5.4
         Environment: Windows
            Reporter: Ankur Avlani


When generating stubs from a large WSDL document using either the ADB or XMLBeans databindings, the generated code causes javac to fail with the following error
    [javac] C:\ankur\axis2-1.5.4-bin\axis2-1.5.4\bin\clientVIMUW\src\com\hds\clientVM\VimServiceStub.java:5944: code too large
    [javac]     private void populateFaults(){
    [javac]                  ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 error

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


[jira] [Resolved] (AXIS2-5033) WSDL2Java produces code that causes javac to fail with "code to large" in axis2-1.5.4

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

Andreas Veithen resolved AXIS2-5033.
------------------------------------

    Resolution: Invalid

Resolving as per the reporter's comment.

> WSDL2Java produces code that causes javac to fail with "code to large" in axis2-1.5.4
> -------------------------------------------------------------------------------------
>
>                 Key: AXIS2-5033
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5033
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.5.4
>         Environment: Windows
>            Reporter: Ankur Avlani
>         Attachments: vim.wsdl, vimService.wsdl
>
>
> When generating stubs from a large WSDL document using either the ADB or XMLBeans databindings, the generated code causes javac to fail with the following error
>     [javac] C:\ankur\axis2-1.5.4-bin\axis2-1.5.4\bin\clientVIMUW\src\com\hds\clientVM\VimServiceStub.java:5944: code too large
>     [javac]     private void populateFaults(){
>     [javac]                  ^
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] Note: Some input files use unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] 1 error

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


[jira] [Commented] (AXIS2-5033) WSDL2Java produces code that causes javac to fail with "code to large" in axis2-1.5.4

Posted by "Ankur Avlani (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13032756#comment-13032756 ] 

Ankur Avlani commented on AXIS2-5033:
-------------------------------------

I was able to solve this by increasing the ant javac memoryMaximumSize to "1024m".

> WSDL2Java produces code that causes javac to fail with "code to large" in axis2-1.5.4
> -------------------------------------------------------------------------------------
>
>                 Key: AXIS2-5033
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5033
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.5.4
>         Environment: Windows
>            Reporter: Ankur Avlani
>         Attachments: vim.wsdl, vimService.wsdl
>
>
> When generating stubs from a large WSDL document using either the ADB or XMLBeans databindings, the generated code causes javac to fail with the following error
>     [javac] C:\ankur\axis2-1.5.4-bin\axis2-1.5.4\bin\clientVIMUW\src\com\hds\clientVM\VimServiceStub.java:5944: code too large
>     [javac]     private void populateFaults(){
>     [javac]                  ^
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] Note: Some input files use unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] 1 error

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


[jira] [Updated] (AXIS2-5033) WSDL2Java produces code that causes javac to fail with "code to large" in axis2-1.5.4

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

Ankur Avlani updated AXIS2-5033:
--------------------------------

    Attachment: vimService.wsdl
                vim.wsdl

> WSDL2Java produces code that causes javac to fail with "code to large" in axis2-1.5.4
> -------------------------------------------------------------------------------------
>
>                 Key: AXIS2-5033
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5033
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.5.4
>         Environment: Windows
>            Reporter: Ankur Avlani
>         Attachments: vim.wsdl, vimService.wsdl
>
>
> When generating stubs from a large WSDL document using either the ADB or XMLBeans databindings, the generated code causes javac to fail with the following error
>     [javac] C:\ankur\axis2-1.5.4-bin\axis2-1.5.4\bin\clientVIMUW\src\com\hds\clientVM\VimServiceStub.java:5944: code too large
>     [javac]     private void populateFaults(){
>     [javac]                  ^
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] Note: Some input files use unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] 1 error

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

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