And maybe javac itself changed the order of declarations when building the .class file. implementation-specific really means you can't rely on it.
On Thu, Feb 12, 2009 at 6:07 PM, Dan Bornstein <[email protected]> wrote: > > On Thu, Feb 12, 2009 at 12:55 AM, sancane <[email protected]> wrote: > > I only want to know if there is some way to get the declaration order of > > the fields in the main class. > > There is no such functionality in Dalvik. > > And to reiterate, though maybe it happens to work on your desktop VM, > it is explicitly documented that there is no guarantee about the > ordering there either. > > -dan > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

