The android.jar that you build against only contains stubs of the public API functions. Private functions that are part of the implementation aren't there, although they are part of the runtime system that gets installed on the phone.
EricWang wrote: > When I debug a program on Android, the debug info like this: > at java.io.ObjectStreamField.resolve(ObjectStreamField.java:351) > at java.io.ObjectInputStream.readNewClassDesc(ObjectInputStream.java: > 1877) > at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:840) > at java.io.ObjectInputStream.readNewClassDesc(ObjectInputStream.java: > 1882) > at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:840) > at java.io.ObjectInputStream.readNewObject(ObjectInputStream.java: > 2080) > at java.io.ObjectInputStream.readNonPrimitiveContent > (ObjectInputStream.java:943) > at java.io.ObjectInputStream.readObject(ObjectInputStream.java:2299) > at java.io.ObjectInputStream.readObject(ObjectInputStream.java:2254) > .....(Eliminate for some reason) > > But when I looked into java.io.ObjectInputStream and > java.io.ObjectStreamField, some functions are not there, e.g., > readNonPrimitiveContent(), readClassDesc(), resolve(). > > So, I am wondering, what kind of Java Android uses? > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

