Page 1 of 2

Eclipse 3.6 :)

Posted: Mon Apr 26, 2010 4:47 pm
by Onepamopa
ยป Find Revision
L2J Revision Last:
L2JDP Revision Last:

Boooys,
Eclipse SDK Version: 3.6.0
Build id: N20100423-2000
Codename HELIOS

is here, I just tedted it... it found... a TON of warnings, reccomendations and stuff @ the code.
It's not FINAL release, it's beta or something but it works perfectly.
DEV Recommend: install it and see if it makes any difference.

By the way, I want to commend u about last 2-3 commits about memory leaks, they REALLY MAKE A DIFFERENCE in my server's ram usage. 1100 users - 4 GB ram (and 4 Free)... and it used to be ... 1 free... or less :mrgreen:

Re: Eclipse 3.6 :)

Posted: Mon Apr 26, 2010 4:57 pm
by janiii
it is probably only the default warning setting. not more. you can edit the settings for warnings and errors, if they show up, etc.

Re: Eclipse 3.6 :)

Posted: Mon Apr 26, 2010 4:59 pm
by Onepamopa
well, dont know about that... but on cleanly installed eclipse 3.5 & 3.6, after checking out the source, 3.5 doesnt show any warnings, 3.6 shows a lot :) (356). Also 3.6 works A LOT FASTER than 3.5 :)
Here's example:

Description Resource Path Location Type
Dead code L2WorldRegion.java /L2_GameServer/java/com/l2jserver/gameserver/model line 367 Java Problem
Dead code L2WorldRegion.java /L2_GameServer/java/com/l2jserver/gameserver/model line 391 Java Problem
Enum is a raw type. References to generic type Enum<E> should be parameterized Item.java /L2_GameServer/java/com/l2jserver/gameserver line 37 Java Problem
Enum is a raw type. References to generic type Enum<E> should be parameterized L2Item.java /L2_GameServer/java/com/l2jserver/gameserver/templates/item line 171 Java Problem
Description Resource Path Location Type
Redundant null check: The variable target cannot be null at this location L2Party.java /L2_GameServer/java/com/l2jserver/gameserver/model line 681 Java Problem
The method accept(File, String) of type Universe.UniverseFilter should be tagged with @Override since it actually overrides a superinterface method Universe.java /L2_GameServer/java/com/l2jserver/gameserver line 315 Java Problem
The method accept(File) of type CrestCache.BmpFilter should be tagged with @Override since it actually overrides a superinterface method CrestCache.java /L2_GameServer/java/com/l2jserver/gameserver/cache line 357 Java Problem
The method accept(File) of type CrestCache.OldPledgeFilter should be tagged with @Override since it actually overrides a superinterface method CrestCache.java /L2_GameServer/java/com/l2jserver/gameserver/cache line 365 Java Problem
The method accept(File) of type HtmCache.HtmFilter should be tagged with @Override since it actually overrides a superinterface method HtmCache.java /L2_GameServer/java/com/l2jserver/gameserver/cache line 93 Java Problem

Re: Eclipse 3.6 :)

Posted: Mon Apr 26, 2010 5:14 pm
by JIV
try enable use project specific error/warnings.

Re: Eclipse 3.6 :)

Posted: Mon Apr 26, 2010 5:17 pm
by Onepamopa
Project specific errors / warnings are enabled by default

Re: Eclipse 3.6 :)

Posted: Mon Apr 26, 2010 5:18 pm
by janiii
anyway thanks for the info :) new eclipse will have nice features :)

Re: Eclipse 3.6 :)

Posted: Mon Apr 26, 2010 5:20 pm
by Onepamopa
well, thank you for your time :)
and make use of the new eclipse soon :)

Re: Eclipse 3.6 :)

Posted: Mon Apr 26, 2010 6:38 pm
by MELERIX
anyway instead of 3.6, you should use 3.5.2 that is the latest stable.

3.6 is still under development (milestone 6), and is not stable yet.

Re: Eclipse 3.6 :)

Posted: Mon Apr 26, 2010 6:55 pm
by Onepamopa
I know, I said @ my 1st post that it's beta or something..
Ofcourse I'll use 3.5.2 for now, untill 3.6 becomes stable.

I just wanted to make u aware that there's new eclipse (and it shows warning and etc that the old one doesnt)
If those errors are like janiii said - default ones etc, I'll ignore them, but if they arent, u should be aware that they exist :)

Re: Eclipse 3.6 :)

Posted: Mon Apr 26, 2010 7:05 pm
by JIV
i still use 3.4.2 and no warnings here . Until you dont see it, its not there :)

Re: Eclipse 3.6 :)

Posted: Mon Apr 26, 2010 7:10 pm
by Onepamopa
Sure, but java evolves, eclipse evolves... and we HAVE TO evolve with them. :)

Re: Eclipse 3.6 :)

Posted: Mon Apr 26, 2010 9:54 pm
by MELERIX
Eclipse 3.4.2 is from (11/Feb/2009) is very very old :?

vs

Eclipse 3.5.2 is from (11/Feb/2010) :wink:

Re: Eclipse 3.6 :)

Posted: Tue Apr 27, 2010 1:17 am
by hope
to update what ones do i pick?

Re: Eclipse 3.6 :)

Posted: Tue Apr 27, 2010 1:19 am
by MELERIX
All ;)

Eclipse update is usefull to update Eclipse & the plugins that you have installed, like Subclipse and others ;)

Re: Eclipse 3.6 :)

Posted: Tue Apr 27, 2010 8:45 am
by JIV
MELERIX wrote:Eclipse 3.4.2 is from (11/Feb/2009) is very very old :?
a little but still supported.