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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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
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
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
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.
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
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);
}
}
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
There is currently no 1.4 back port version. Would you be interested in contributing ?
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