Menu

#11 Use Java 5.0 features including Generics

open
nobody
5
2007-06-22
2007-06-22
Egal
No

The current joXSI code is Java 1.4 compliant so it does not use Generics and other features of Java 1.5 aka J2SE 5.0.

Should we move the source to Java 5.0 and stop supporting Java 1.4?

Discussion

  • Egal

    Egal - 2007-06-24

    Logged In: YES
    user_id=1811926
    Originator: YES

    This would also enable us to use StringBuilders instead of StringBuffers, which can be slightly faster as StringBuffers are synchronized. The Java 6.0 JIT can remove the synchronized modifier but not everyone uses Java 6.0 yet.

     
  • Lando

    Lando - 2007-07-11

    Logged In: YES
    user_id=1412035
    Originator: NO

    Make a decision on this. I see no reason to continue to base the produce on version 4, make 5 the new base and it opens up a lot of new commands and such that can be used.

    Once you make a decision we can go ahead with making changes to the code.

     
  • Egal

    Egal - 2007-07-11

    Logged In: YES
    user_id=1811926
    Originator: YES

    Some of the classes have already been converted to use Java 5 generics so feel free to add any more Java 5 specific features.

     

Log in to post a comment.

MongoDB Logo MongoDB