[jacorb-bugs] [Bug 920] using jacorb 3.0rc1 on android platform
bugzilla-daemon at jacorb.org
bugzilla-daemon at jacorb.org
Mon Apr 30 18:04:18 CEST 2012
http://www.jacorb.org/cgi-bin/bugzilla/show_bug.cgi?id=920
jacorb at goots.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jacorb at goots.org
Status|NEW |ASSIGNED
------- Comment #1 from jacorb at goots.org 2012-04-30 18:04 -------
Thanks for the report. As far as I know you're the first to test on Android!
There looks like there are several issues here. I imagine they arise due to the
differences between the JDK on e.g. Linux and the classes in the VM on android.
e.g. looking at this there are fundamental differences
https://en.wikipedia.org/wiki/Comparison_of_Java_and_Android_API#Class_library
https://www.zdnet.com/blog/burnette/java-vs-android-apis/504
In terms of your stack trace I can see the following:
org/omg/SendingContext/RunTime - this is included in the J2SE JVM. This can be
solved by including the IDL
(http://www.omg.org/spec/CORBA/3.1/20030101/SendingContext.idl) in JacORB and
generating it.
04-30 16:01:53.203: E/dalvikvm(15962): Could not find class 'java.rmi.Remote',
referenced from method org.jacorb.orb.CDRInputStream.read_Object
04-30 16:01:53.234: W/dalvikvm(15962): Unable to resolve superclass of
Lorg/jacorb/orb/Reference; (1114)
04-30 16:01:53.070: W/dalvikvm(15962): VFY: unable to resolve const-class 1112
(Ljavax/rmi/CORBA/ClassDesc;) in Lorg/jacorb/orb/CDROutputStream;
These are more problematic. JacORB used to have some code for part of the above
that supported jdk1.3 by changing the inheritance. (See
http://www.jacorb.org/cgi-bin/cvsweb/JacORB/src/org/jacorb/orb/build.xml.diff?r1=1.28;r2=1.29;hideattic=0;f=h
and
http://www.jacorb.org/cgi-bin/cvsweb/JacORB/src/org/jacorb/orb/Attic/Reference.template?hideattic=0)
I will add SendingContext Runtime. If you would like to have a look at the
above older code then it might be possible to get it working. If you could test
it and provide a patch that would be great!
--
Configure bugmail: http://www.jacorb.org/cgi-bin/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the jacorb-bugs
mailing list