XStream
  1. XStream
  2. XSTR-249

Any chance gearing this rather useful package towards J2ME?

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.5
    • Component/s: None
    • Labels:
      None
    • JDK version and platform:
      Aonix PERC(R) VM 4.2.0451 Platform: [QNX 6.3.1]

      Description

      Seems this package is something useful to alot of application profiles. Any chance to make this work with j2me profiles and embedded jvm's?
      When testing on the Aonix PERC VM, it stalls at first on the dependency of the PERC format of "java.version" (which I will take to Aonix, they need to fix their non-standard version format).

      The main obstacle, tho, is that XStream seems to want a full J2SE environment:
      In class 'XStream.java' it wants to load converters that need javax.swing, javax.sql, java.io.File etc. Any chance of making loading those converters dynamic? I.e. don't bother with the converter if the extension package(s) doesn't exist - the classes won't exist and hence don't need a converter.
      For J2ME/embedeed profiles, I think its safe to assume existence of data types, reflection (incl. dyn. proxies) and collections, anything beyond is fair game (just my observation).

      Thanks for consideration,

      -Th

        Issue Links

          People

          • Assignee:
            Jörg Schaible
            Reporter:
            Thomas Hentschel
          • Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: