Bug 123005 - [compiler] The code of method X is exceeding the 65535 bytes limit
Summary: [compiler] The code of method X is exceeding the 65535 bytes limit
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1.1   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2006-01-07 12:05 EST by Ariel Valentin CLA
Modified: 2009-08-30 02:06 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ariel Valentin CLA 2006-01-07 12:05:51 EST
JDK 1.4.2_09
I am working with a class that is generated using JAX-B tools. I am able to compile and build this class using ANT via the command line and the Ant builder.

The IDE Problems tab on the other hand displays the following error:
The code of method enterElement(String, String, String, Attributes) is exceeding the 65535 bytes limit.

From what I understand this is a valid Java Compiler error, but I am able to deal with it by adding the JDK/lib dir to the classpath. This solution however does not work with Eclipse.
Comment 1 Olivier Thomann CLA 2006-01-07 14:19:53 EST
It would be interesting to get a test case to find out what is the size of the method using javac or jikes.
The only workaround is to split the method in different submethods.
Comment 2 Ariel Valentin CLA 2006-01-10 15:47:39 EST
The xsd's are private to my company. Would it be acceptable if I created an xsd and generated source that contained the same number of complexTypes with similar elements in a non-domain specific example?
Ex:
complexType A1 extends complexType A etc...
Comment 3 Olivier Thomann CLA 2006-01-10 18:37:03 EST
Any test case that helps us to understand why Eclipse is failing and javac is ok is always welcome.
So feel free to attach the test cases you can provide.
Comment 4 Philipe Mulet CLA 2006-01-11 07:43:58 EST
As long as it reproduces the original issue.
Comment 5 Olivier Thomann CLA 2006-01-25 09:54:03 EST
Closing as REMIND.
Please reopen when you can provide a test case.
Comment 6 Denis Roy CLA 2009-08-30 02:06:58 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.