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 wrote:
>
> On Thu, Feb 12, 2009 at 12:55 AM, sancane wrote:
> > I only want to know if there is some
On Thu, Feb 12, 2009 at 12:55 AM, sancane 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
fadden escribió:
> On Feb 11, 4:54 am, sancane wrote:
>
>> I oberved that:
>> public Field[] getFields()
>> Returns an array containing Field objects describing all fields which
>> are defined. That's array is sorted as attributes are declared in the
>> main Class in sun jdk. For example, nex
On Feb 11, 4:54 am, sancane wrote:
> I oberved that:
> public Field[] getFields()
> Returns an array containing Field objects describing all fields which
> are defined. That's array is sorted as attributes are declared in the
> main Class in sun jdk. For example, next Class is defined as:
The j
4 matches
Mail list logo