Unfortunately it is a widely held assumption that J2ME is a subset of J2SE.
While this may be true in terms of API, it is definitely not true in terms
of behavior.
For example, Hashtable.equals() is J2ME behaves that same as
Object.equals() but in J2SE it is defined in terms of the Collections
semantics (ie, hashtables are equal if they contain the same set of key
with the same values). Vector probably suffers from similar issues.
One way to solve this is to add a class loader for the application that
loads different versions of java.xxx classes as needed to hide the difference.
Original issue reported on code.google.com by david.be...@gmail.com on 10 Sep 2007 at 12:25
Original issue reported on code.google.com by
david.be...@gmail.com
on 10 Sep 2007 at 12:25