This page captures some of the pitfalls encountered when writing Java 5 code and expecting it to work with Java 1.4.x after retroweaving with JBossRetro.


    Note that these have been encountered with JBoss Retro 1.0.4.GA - future versions may not have these problems.


    • New java.util.Timer constructors which take in Strings are translated to their unnamed equivalents.  This means that the name passed to the Timer constructor will not be assigned to the associated


      .  See JBBUILD-350

    • Anonymous implementation of abstract methods in enums causes Weaver to barf - don't use these.  See JBBUILD-332