JBQ
> --
> You received this message because you are subscribed to the "Android Building" mailing list.
> To post to this group, send email to android-...@googlegroups.com
> To unsubscribe from this group, send email to
> android-buildi...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
>
--
Jean-Baptiste M. "JBQ" Queru
Software Engineer, Android Open-Source Project, Google.
Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.
JBQ
On Wed, Mar 2, 2011 at 9:44 AM, Nagender Telkar
This gives rise to this error in the documentation:
http://developer.android.com/reference/android/bluetooth/BluetoothDevice.html#ACTION_CLASS_CHANGED
I'm not sure if the fix is to change the @see {@link BluetoothClass} here:
frameworks/base/core/java/android/bluetooth/BluetoothDevice.java:103 or
thereabouts.
> Droiddoc: found class android.graphics.drawable
> Droiddoc: found class<a
> Droiddoc: found class<a
> Droiddoc: found class<a
> Droiddoc: found class<a
These are just @see <a href="....">blah</a> and seem to work.
I've also got some more of a lead on why this is failing.
In the bad log, earlier on in processing I see this:
Droiddoc: found class Context
Droiddoc: found class Context
Droiddoc: found class Context
Droiddoc: found class Context
Droiddoc: found class Bundle
Droiddoc: found class Context
Droiddoc: found class Context
Droiddoc: found class Context
Droiddoc: found class Context
Droiddoc: found class Context
Droiddoc: found class Context
Droiddoc: found class Uri
This section of log, never appears in the good log.
Additionally in the good log, I see this:
Droiddoc: found class android.content.Intent
Droiddoc: found class android.content.pm.LabeledIntent
Droiddoc: found class android.content.Intent.FilterComparison
Droiddoc: found class android.content.Intent.ShortcutIconResource
Which never appears in the bad log, although
android.content.pm.LabeledIntent is found in the bad log.
Not sure if any of this any help. Will keep plodding with it.
Dominic
JBQ
Dominic
Hi JBQ,
I've uploaded this change:
https://review.source.android.com/#change,23549 to address the
occasional Intent build failure problem.
A few notes about the fix.
Basically the problem is that occasionally mText.indexOf("@hide) >= 0 ||
mText.indexOf("@pending") >= 0 evaluates to true when neither @hide or
@pending are in mText (as is the case with Intent). I've not tried to
go any further into understanding why as I believe this will get into
the implementation of the JVM: there's nothing apparently broken in the
indexOf code in JDK (and it works most of the time). Sorry my knowledge
of Java is just not good enough to tackle that problem.
What I've done, and I anticipate there maybe some push back on this, is
to implement a new method isFoundIn which provides precisely the
functionality needed by droiddoc - indexOf is a richer method that
provides other functionality through different type signatures and so
the code is more complex.
This code has proved to be stable and has nearly 900 back to back builds
without fail on one tree and 850 on another. Typically I was seeing
around 100-200 builds and then a failure.
I've left the original code commented out and provided an explanation in
the code why I've modified it in the way that I have.
I'm open to comments and suggestions on how to make this patch better.
Dominic