Menu

Java 1.4 Backport

Help
Jam Flava
2006-03-15
2013-04-25
  • Jam Flava

    Jam Flava - 2006-03-15

    Hi again,

    Is there any plans to do a back port of this lib to work with Java 1.4? Do you think it would be difficult to do? Perhaps i could help.

    To get beanlib to work with Java 1.4 i have had to some Class Loader "black magic" offered by the Retrotranslator (http://retrotranslator.sourceforge.net/). And such 'black magic' makes me nervous, as i dont know whats going on :) So if there is any trouble with beanlib etc, it will take me a long time to fix it.

    Regards,

    Saqib

     
    • Joe D. Velopar

      Joe D. Velopar - 2006-03-15

      Hi Jam,

      Indeed it's pretty easy to do a backport.  I currently don't because I don't want to maintain 2 separate source tree and sync them whenever there is a change.

      Would you be interested in helping with not just creating a backport version, but also maintaining it for the long run ?

      Hanson

       
    • Jam Flava

      Jam Flava - 2006-03-16

      Hi Hanson,

      I would be interested in maintaining it, and helping out with the backport. I cant say if i will be able to do it well because my java 5 skills are non-existant :) But i guess this would be a good way to learn the Java 5 syntax.

      Regards,

      Saqib

       
    • Pierce S. Shah

      Pierce S. Shah - 2007-05-21

      Hi Saqib and Hanson,

      did anybody of you start with the backport? I'm very interested as our infrastructure does not support Java 1.5.
      In case you didn't start yet, what would be the best code basis to start a backport (HEAD or 3.3.0beta4 or older version)?

      Regards and many thanks in advance,
      Pierce

       
      • Hanson Char

        Hanson Char - 2007-05-21

        Hi Pierce,

        To start the backport, the best code base would be either the latest 3.3.x, which has the most features, or 3.2.x which is the most stable version.

        Looking for volunteers.

         
    • Pierce S. Shah

      Pierce S. Shah - 2007-05-22

      Hi Hansson,

      I had a short look to the 3.3.0beta4 code regarding java 1.5 specialities.
      As I'm not really familiar with 1.5 coding, I need some guidance.
      How would you backport the following snippets:

      1)
      public static <T, K, V> SortedRangeMap<T, K, V> synchronizedSortedRangeMap(
                  SortedRangeMap<T, K, V> m)
          {
              return new SynchronizedSortedRangeMap<T, K, V>(m);
          }

      2)
      @Override
          public final <T> T transform(Object from, Class<T> toClass)
          {
              try {
                  if (customTransformer.isTransformable(from, toClass))
                      return customTransformer.transform(from, toClass);
                  return replicate(from, toClass);
              } catch (SecurityException e) {
                  throw new BeanlibException(e);
              }
          }

      Regards,
      Pierce

       
      • Hanson Char

        Hanson Char - 2007-05-22

        Simply get rid of all the generic type parameters and annotations.  Like so:

            public static SortedRangeMap synchronizedSortedRangeMap(SortedRangeMap m)
            {
                return new SynchronizedSortedRangeMap(m);
            }

            public final transform(Object from, Class toClass) {
                try {
                    if (customTransformer.isTransformable(from, toClass))
                        return customTransformer.transform(from, toClass);
                    return replicate(from, toClass);
                } catch (SecurityException e) {
                    throw new BeanlibException(e);
                }
            }

         
    • simpletask12

      simpletask12 - 2008-04-01

      Do you guys have any update regarding the jdk1.4 backport? I'm in dire need to have this library working on WebSphere - with jdk1.4 and was wondering if you guys have done it already or need  a hand.

      Thanks,
      Valy

       
      • Hanson Char

        Hanson Char - 2008-04-01

        There is currently no 1.4 back port version.  Would you be interested in contributing ?

         
    • simpletask12

      simpletask12 - 2008-04-02

      Yes, I'd be interested in start working on a 1.4 backport version. Can we coordinate this effort? Anyone else interested in doing this? I'm sure are people out there stuck with Websphere5 :(

      Thanks,
      Valy

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.