ps.  The signature count means # of classes with exactly the same
signature, and in this case signature means all 5 of these attributes
matched:

1. fully qualified class name
2. class modifiers and visibility, as well as extends, implements
3. all method names, parameter types, return types, and throws types
4. all method modifiers and visibility (e.g. static, final, protected,
private, synchronized)
5. all methods must appear in the same order in the class

Private methods are also included in the matching, so the fact that
fewer signatures match in httpcore-4.0 could be from private methods
changing.





On Fri, Apr 23, 2010 at 1:08 PM, Julius Davies <[email protected]> wrote:
> I'm developing a tool to try and match random jar files against known jar 
> files.
>
> I ran the tool against the Android-7 jar file
> (android-sdk-linux_86/platforms/android-7/android.jar), and here's
> what my tool returned:
>
>
>
> Best match:  'httpcore-4.0-beta2.jar' with 92 matching signatures.
>
> Best match:  'httpclient-4.0-beta1.jar' with 127 matching signatures.
>
>
> This doesn't guarantee that those are indeed the exact versions in
> Android, but I have some confidence, since versions immediately before
> and after happened to also be in my database.
>
>
> Raw results:
>
>  jakarta-httpcore-4.0-alpha1.jar | 2006-04-16 04:01:08 |  21
>  jakarta-httpcore-4.0-alpha2.jar | 2006-06-08 16:59:10 |  23
>  jakarta-httpcore-4.0-alpha3.jar | 2006-12-07 07:50:16 |  26
>  jakarta-httpcore-4.0-alpha4.jar | 2007-03-23 23:50:30 |  31
>  httpcore-4.0-alpha5.jar         | 2007-06-28 23:53:46 |  35
>  httpcore-4.0-alpha6.jar         | 2007-10-05 19:01:12 |  65
>  httpcore-4.0-beta1.jar          | 2008-01-21 02:10:46 |  88
>  httpcore-4.0-beta2.jar          | 2008-06-18 02:35:46 |  92
>  httpcore-4.0-beta3.jar          | 2008-10-15 03:37:48 |  88
>  httpcore-4.0.jar                | 2009-02-20 04:00:22 |  87
>  httpcore-4.0.1.jar              | 2009-06-19 03:06:14 |  87
>  httpcore-4.1-alpha1.jar         | 2009-09-06 19:37:24 |  84
>
>
>  httpclient-4.0-alpha1.jar       | 2007-07-15 00:43:50 |  31
>  httpclient-4.0-alpha2.jar       | 2007-11-06 23:00:30 |  53
>  httpclient-4.0-alpha3.jar       | 2008-02-21 04:46:38 |  67
>  httpclient-4.0-alpha4.jar       | 2008-05-05 00:37:32 |  83
>  httpclient-4.0-beta1.jar        | 2008-08-23 18:48:30 | 127
>  httpclient-4.0-beta2.jar        | 2008-12-18 04:13:42 | 125
>  httpclient-4.0.jar              | 2009-08-07 03:40:44 | 119
>  httpclient-4.0.1.jar            | 2009-12-10 04:06:18 | 117
>  httpclient-4.1-alpha1.jar       | 2009-12-10 04:25:42 | 110
>
>
> I hope this information can be of some help.
>
>
> yours,
>
> Julius
>
>
>
>>
>> Um, OK. I was just trying to be helpful but should be focusing on other
>> things right now. Jesse already explained that the Android team is swamped,
>> and they haven't had any complaints about HttpClient, so upgrading it has
>> been a relatively low priority. Android is open source. If someone feels
>> strongly about updating HttpClient sooner rather later, they can submit a
>> patch <http://source.android.com/download>.
>>
>> I'm sorry I didn't have time to process your original email. There are only
>> so many hours in a day. I explained on several earlier occasions that
>> Android doesn't allow binary incompatibilities of any kind (not my rule). I
>> understand that the HttpClient team is more tolerant of binary
>> incompatibilities. While I'm not saying it would be impossible to make these
>> changes in Android, I am saying that it would take a lot of convincing (and
>> time), it would annoy other people who are time-constrained and who have
>> higher priorities, and it could likely fail anyway.
>>
>> Bob
>>
>
>
>
> --
> yours,
>
> Julius Davies
> 250-592-2284 (Home)
> 250-893-4579 (Mobile)
>
> $ sudo apt-get install cowsay
> $ echo "Moo." | cowsay | cowsay -n | cowsay -n
> http://juliusdavies.ca/cowsay/
>



-- 
yours,

Julius Davies
250-592-2284 (Home)
250-893-4579 (Mobile)

$ sudo apt-get install cowsay
$ echo "Moo." | cowsay | cowsay -n | cowsay -n
http://juliusdavies.ca/cowsay/

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to