axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Jordahl <t...@macromedia.com>
Subject RE: cvs commit: ws-axis/java/src/org/apache/axis/wsdl/toJava Java StubWriter.java
Date Mon, 27 Oct 2003 17:17:56 GMT

Java limits the amount of code in a function to 64K.
Javac won't compile it if it's bigger than that.

We had this same problem convert ColdFusion Markup Language (CFML) to java functions - we
had to break apart very long methods and chain them.

Icky.


--
Tom Jordahl
Macromedia Server Development

-----Original Message-----
From: Sanjiva Weerawarana [mailto:sanjiva@watson.ibm.com] 
Sent: Monday, October 27, 2003 11:53 AM
To: axis-dev@ws.apache.org
Subject: Re: cvs commit: ws-axis/java/src/org/apache/axis/wsdl/toJava JavaStubWriter.java

> ericf       2003/10/24 14:06:30
>
>   Modified:    java/src/org/apache/axis/wsdl/toJava JavaStubWriter.java
>   Log:
>   fix for 24018 -- when a stub has more than 100 types for which it
defines
>   metadata, emit code for the metadata in methods that handle no more than
>   100 types at a time to avoid writing classes that the VM cannot load
>   because the constructor is larger than 64k.  For stubs with less than
>   100 types the output is the same as before (binding metadata is
>   inlined in the stub constructor).

I missed this - is this some kind of Java restriction - that
constructors can't be larger than 64k?? I don't think I
understand what that means.

Sanjiva.


Mime
View raw message