A
Alex Hunsley
I've just tried using retroweaver (http://retroweaver.sourceforge.net/)
which claims to be able to mong 1.5 bytecode into 1.4 (and pre)
compatible bytecode.
Unfortunately, it appears that retroweaver was written with a slightly
out of date beta of jdk1.5, as it calls methods that don't exist:
[RetroWeaver] Weaving C:\cygwin\home\alex\jtest\Test.class
java.lang.NoSuchMethodError:
java.lang.String.replace(Ljava/lang/String;Ljava/lang/StringLjava/lang/String;
at com.rc.retroweaver.RetroWeaver.fixupFormat(RetroWeaver.java:207)
at com.rc.retroweaver.RetroWeaver.weave(RetroWeaver.java:79)
at com.rc.retroweaver.Weaver.invokeWeaver(Weaver.java:107)
at com.rc.retroweaver.Weaver.main(Weaver.java:72)
(The replace method in the string class takes two CharacterSet
references, not two strings.) Given that the source is available, it's
feasible to fix it, but I'm wondering if anyone else has done that same
successfully? Or tried and found it problematic?
alex
which claims to be able to mong 1.5 bytecode into 1.4 (and pre)
compatible bytecode.
Unfortunately, it appears that retroweaver was written with a slightly
out of date beta of jdk1.5, as it calls methods that don't exist:
[RetroWeaver] Weaving C:\cygwin\home\alex\jtest\Test.class
java.lang.NoSuchMethodError:
java.lang.String.replace(Ljava/lang/String;Ljava/lang/StringLjava/lang/String;
at com.rc.retroweaver.RetroWeaver.fixupFormat(RetroWeaver.java:207)
at com.rc.retroweaver.RetroWeaver.weave(RetroWeaver.java:79)
at com.rc.retroweaver.Weaver.invokeWeaver(Weaver.java:107)
at com.rc.retroweaver.Weaver.main(Weaver.java:72)
(The replace method in the string class takes two CharacterSet
references, not two strings.) Given that the source is available, it's
feasible to fix it, but I'm wondering if anyone else has done that same
successfully? Or tried and found it problematic?
alex