Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Too large source ??
Too large source ?? [message #151495] Tue, 30 March 2004 08:26 Go to next message
Eclipse UserFriend
Originally posted by: frode.halvorsen.hoco.no

I am testing som DCOM-bridge software (J-Integra), and did one of the
samples against Excel.
After importing the JAVA-classes into Eclipse, one of the generated classes
is too big :

The code for the static initializer is exceeding the 65535 bytes limit
.....

When doing a manual javac on the same file it compiles fine.

Can this limit be set higfher to avoid this in eclipse ?

Frode Halvorsen
Re: Too large source ?? [message #151564 is a reply to message #151495] Tue, 30 March 2004 10:32 Go to previous messageGo to next message
Jerome Lanneluc is currently offline Jerome LannelucFriend
Messages: 572
Registered: July 2009
Senior Member
Sorry this limit can be configured. But it means that we should optimize
your test case. Can you please open a bug report against JDT Core and attach
your test case? If you cannot attach the test case, can you describe in
details what the code in the static initializer looks like?

Thanks,
Jerome

"Frode Halvorsen" <frode.halvorsen@hoco.no> wrote in message
news:c4bamn$oq1$1@eclipse.org...
> I am testing som DCOM-bridge software (J-Integra), and did one of the
> samples against Excel.
> After importing the JAVA-classes into Eclipse, one of the generated
classes
> is too big :
>
> The code for the static initializer is exceeding the 65535 bytes limit
> ....
>
> When doing a manual javac on the same file it compiles fine.
>
> Can this limit be set higfher to avoid this in eclipse ?
>
> Frode Halvorsen
>
>
Re: Too large source ?? [message #151572 is a reply to message #151564] Tue, 30 March 2004 10:33 Go to previous messageGo to next message
Jerome Lanneluc is currently offline Jerome LannelucFriend
Messages: 572
Registered: July 2009
Senior Member
Of course I meant: "this limit CANNOT be configured"

"Jerome Lanneluc" <jerome_lanneluc@fr.ibm.com> wrote in message
news:c4bi2o$3g0$1@eclipse.org...
> Sorry this limit can be configured. But it means that we should optimize
> your test case. Can you please open a bug report against JDT Core and
attach
> your test case? If you cannot attach the test case, can you describe in
> details what the code in the static initializer looks like?
>
> Thanks,
> Jerome
>
> "Frode Halvorsen" <frode.halvorsen@hoco.no> wrote in message
> news:c4bamn$oq1$1@eclipse.org...
> > I am testing som DCOM-bridge software (J-Integra), and did one of the
> > samples against Excel.
> > After importing the JAVA-classes into Eclipse, one of the generated
> classes
> > is too big :
> >
> > The code for the static initializer is exceeding the 65535 bytes limit
> > ....
> >
> > When doing a manual javac on the same file it compiles fine.
> >
> > Can this limit be set higfher to avoid this in eclipse ?
> >
> > Frode Halvorsen
> >
> >
>
>
Re: Too large source ?? [message #151596 is a reply to message #151495] Tue, 30 March 2004 14:01 Go to previous message
Eclipse UserFriend
Originally posted by: olivier_thomannNO.ca.ibm.comSPAM

Le Tue, 30 Mar 2004 10:26:21 +0200, "Frode Halvorsen"
<frode.halvorsen@hoco.no> a écrit :
>When doing a manual javac on the same file it compiles fine.
You might be really close to the 64K limit with javac and slightly
above with Eclipse compiler.

>Can this limit be set higfher to avoid this in eclipse ?
No. This is a VM limitation. Could you please open a bug report
against JDT/Core where you provide the source code in a zip file?

Then we should be able to tell you why javac compiles fine and not
Eclipse compiler.

Thanks,

Olivier
Previous Topic:Kudos on M8!
Next Topic:3.0M8 keeps asking for a workspace...
Goto Forum:
  


Current Time: Wed Oct 09 12:23:22 GMT 2024

Powered by FUDForum. Page generated in 0.01921 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top