Hi,
I am trying to genreate jar file from java classes by compiling the Vsphere wsd, using the Axis2 wsdl2java utility.
Java complains that the code is tool large for method populateFaults in VimServiceStub
vim25\vim25service\VimServiceStub.java:4552: code too large
javac private void populateFaults(){
javac ^
Looks like there is a 64k limit on the method byte size code in java. This method came upto 4000 lines approximately, and it was trying to build the exception to fault map
Did anyone face this issue? I am using javac 1.6.0_14
Currently, I split this method manually, into two parts and calling them separately.
However, I can't rely on this manual intervention, and I would like to automate the whole process.
Let me know if you have any hints/ideas on how to solve this issue
Thank you