Details
-
Type: Improvement
-
Status: 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
- relates to
-
XSTR-566 AppEngine Compatibility.
Well, the devs are currently very busy and at least me I have no J2ME experience yet. A patch would be welcomed though