[ http://jira.codehaus.org/browse/JIBX-110?page=comments#action_66729 ] 

Dirk Bade commented on JIBX-110:
--------------------------------

I just tried to run the j2me-version, but i got a NoClassDefFoundException for 
java.sql.Date. The java.sql-code sections should have been disabled in the 
j2me-version (by the j2me-build target and the JEnabler), but using the JAD 
decompiler on Utility.class (in the j2me-run.jar) shows that no code at all has 
been cut out of the source. The java.sql parts are still present in the 
class-file. In case someone provides the source for JEnabler i could have a 
look at what's going wrong.

> Having a J2ME compatible official jibx release
> ----------------------------------------------
>
>          Key: JIBX-110
>          URL: http://jira.codehaus.org/browse/JIBX-110
>      Project: JiBX
>         Type: New Feature

>   Components: core
>  Environment: J2ME
>     Reporter: Lars
>     Assignee: Dennis Sosnoski
>      Fix For: JiBX 1.1 beta4

>
>
> It would be great having an offical jibx release for J2ME environments.
> With respect to our code analysis in the current version only slight
> modifications are necessary (below I have copied a part of the original post 
> of Dirk Bade from the jibx-users list):
> The only Problem is the usage of java.sql.Time, java.sql.Date and 
> java.sql.Timestamp within the jibx.runtime.Utility-class.
> If you simply remove the imports of these packages within the class and 
> change the methods for serialization and deserialization
> (using Object instead of java.sql.* in the method-signature) it works fine. 
> And because java.sql.* is not
> included in the 'Personal Profile' for mobile devices you won't miss the 
> methods anyway. The binding-compiler does not like the changes in the 
> method-signatures, so one has to use the original Utility-class for 
> binding-compiling.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to