Recent commits on libcore (git) - Android-x86 - OSDN https://zh.osdn.net/projects/android-x86/scm/git/libcore/ Android-x86 https://static-cdn.osdn.net/thumb/g/5/887/36x36_0.png /projects/android-x86/ ad6f20: Merge remote branch 'aosp/gingerbread-mr4-release' into g... https://zh.osdn.net/projects/android-x86/scm/git/libcore/commits/ad6f208ca6abbf810aab4557ce73b46ca441f619 Chih-Wei Huang Commit: ad6f208ca6abbf810aab4557ce73b46ca441f619
Merge remote branch 'aosp/gingerbread-mr4-release' into gingerbread-x86
]]>
4c2867: keep history after reconcile of gingerbread-release https://zh.osdn.net/projects/android-x86/scm/git/libcore/commits/4c2867b3e1b4065b74259671a0fc93422e0fe21d The Android Automerger Commit: 4c2867b3e1b4065b74259671a0fc93422e0fe21d
keep history after reconcile of gingerbread-release
]]>
065eb8: Remove DigiNotar Root CA cd libcore/luni/src/main/files ... https://zh.osdn.net/projects/android-x86/scm/git/libcore/commits/065eb8c508aca118eaf12c89af6f9978731f4955 Brian Carlstrom Commit: 065eb8c508aca118eaf12c89af6f9978731f4955
Remove DigiNotar Root CA

cd libcore/luni/src/main/files
git rm cacerts/c0cafbd2.0
./certimport.sh

Bug: 5232736
Change-Id: I455a7c72a6d08cd0556fd4a64bb195e9e97dbfc0
]]>
9b4b74: Remove DigiNotar Root CA cd libcore/luni/src/main/files ... https://zh.osdn.net/projects/android-x86/scm/git/libcore/commits/9b4b74f951b8b91c3b95f90c08049240ec83ff96 Brian Carlstrom Commit: 9b4b74f951b8b91c3b95f90c08049240ec83ff96
Remove DigiNotar Root CA

cd libcore/luni/src/main/files
git rm cacerts/c0cafbd2.0
./certimport.sh

Bug: 5232736
Change-Id: I455a7c72a6d08cd0556fd4a64bb195e9e97dbfc0
]]>
49bdc4: Fix pointer vs integer mismatch in several return stateme... https://zh.osdn.net/projects/android-x86/scm/git/libcore/commits/49bdc4a5fb3fcb6102aa08f9a8badee49b83e6f8 Olivier Bailly Commit: 49bdc4a5fb3fcb6102aa08f9a8badee49b83e6f8
Fix pointer vs integer mismatch in several return statements.

Change-Id: Id2a754cf0a58d55e38c72e998920f219c5342d3d
]]>
9cca6a: Merge "Skip tests if it includes unsupported locale/chars... https://zh.osdn.net/projects/android-x86/scm/git/libcore/commits/9cca6a44c922649806cb8a79efc5f615f97e30a1 Jean-Baptiste Queru Commit: 9cca6a44c922649806cb8a79efc5f615f97e30a1
Merge "Skip tests if it includes unsupported locale/charset" into gingerbread
]]>
f241d4: Don't read from the delegate stream after we close it. C... https://zh.osdn.net/projects/android-x86/scm/git/libcore/commits/f241d462634527692b7d99335cdc8c11883ac966 Jesse Wilson Commit: f241d462634527692b7d99335cdc8c11883ac966
Don't read from the delegate stream after we close it.

Change-Id: I9a018ca88373d5f317335e35fc6ca43c5473490e
http://b/4188137
]]>
0422b9: Fix initialization races in X509CertImpl DO NOT MERGE X5... https://zh.osdn.net/projects/android-x86/scm/git/libcore/commits/0422b9ab2f9819f1d905710fd2a109259ceec5eb Brian Carlstrom Commit: 0422b9ab2f9819f1d905710fd2a109259ceec5eb
Fix initialization races in X509CertImpl DO NOT MERGE

X509CertImpl instances can be shared between threads without a caller
knowing due to the CERT_CACHE in X509CertFactoryImpl. In some cases,
initialization of pairs of fields such as notBefore/notAfter and
sigAlgOID/sigAlgName were protected by checking if only was one of the
two values were initialized. This could lead to one thread half
initializing a pair and a second thread seeing the half initialized
pair, would assume both halves were initialized, returning an
uninitialized value. Even in the lazy initialization of single fields
there was no use of volatile or synchonized to be properly safe.

git cherry-pick -e ef6370c1b62edf75dc7c3e5411468b55627e037d
http://code.google.com/p/android/issues/detail?id=11870
Bug: 2295023

Change-Id: I82ff6e2742b3562e06fe3988dff1071b8ef5e82b
]]>
454190: Skip tests if it includes unsupported locale/charset A d... https://zh.osdn.net/projects/android-x86/scm/git/libcore/commits/4541906c838ea5c65b063b01166d051802c4bc5b Masanori Ogino Commit: 4541906c838ea5c65b063b01166d051802c4bc5b
Skip tests if it includes unsupported locale/charset

A device may not support any specific locale (i.e. China, German, etc,.)

Change-Id: I894bfc76d3503d879913ff33a2b5e8887ea2ca49
]]>
44fa67: DO NOT MERGE: Ensure sslSelect is non-blocking This was ... https://zh.osdn.net/projects/android-x86/scm/git/libcore/commits/44fa6764d0f235032cc64fb4ecd7018140a2d5d8 Brian Carlstrom Commit: 44fa6764d0f235032cc64fb4ecd7018140a2d5d8
DO NOT MERGE: Ensure sslSelect is non-blocking

This was cherry-picked back from Honeycomb 41e32e5a6b091b2f8682f525bae47deb395be4b1

sslSelect had a comment explaining why its blocking read from a pipe
would never block. However, there is repeatable evidence to the
contrary. Attaching gdb to a process with SSLSocket blocked in both
read and write showed that the writer was waiting in sslSelect trying
to acquire the AppData::mutex while the reader was holding the mutex
and blocked in read(2).

This change makes the file descriptor of the pipe non-blocking.
Callers of sslSelect select already repeat their attempt to handshake,
read, or write as necessary when waking up from select, so now if the
code is woken up by the pipe, it continues regardless of the read
status.

Bug: 3332268
Change-Id: I75fb094e168d89a8e2752a6e12ee79f9adadc013
]]>
e61a37: DeflaterOutputStream should output all available compress... https://zh.osdn.net/projects/android-x86/scm/git/libcore/commits/e61a37593b5a93e5defe693b85971f281dbee7dc Brian Carlstrom Commit: e61a37593b5a93e5defe693b85971f281dbee7dc
DeflaterOutputStream should output all available compressed data

In both the write and flush we were looping writing data from the
Deflater to the OutputStream until we needsInput was true. However, we
should have simply been looping until there were no bytes returned.

Bug: 4005091
Change-Id: I995ef0eeb3d3c500144f33456b5b2d15d374efcb
]]>
833a9b: CA certificate update Added and removed expired CAs in c... https://zh.osdn.net/projects/android-x86/scm/git/libcore/commits/833a9b9980f21e4910d3aabc85a02385811f3469 Brian Carlstrom Commit: 833a9b9980f21e4910d3aabc85a02385811f3469
CA certificate update

Added and removed expired CAs in cacerts directory with summary below.
Regenerated cacerts.bks

Remove   SHA1      : 9F:C7:96:E8:F8:52:4F:86:3A:E1:49:6D:38:12:42:10:5F:1B:78:F5
         Subject   : C=DE, ST=Hamburg, L=Hamburg, O=TC TrustCenter for Security in Data Networks GmbH, OU=TC TrustCenter Class 3 CA/emailAddress=certificate@trustcenter.de

Remove   SHA1      : 83:8E:30:F7:7F:DD:14:AA:38:5E:D1:45:00:9C:0E:22:36:49:4F:AA
         Subject   : C=DE, ST=Hamburg, L=Hamburg, O=TC TrustCenter for Security in Data Networks GmbH, OU=TC TrustCenter Class 2 CA/emailAddress=certificate@trustcenter.de

Added    SHA1      : 4A:BD:EE:EC:95:0D:35:9C:89:AE:C7:52:A1:2C:5B:29:F6:D6:AA:0C
         Subject   : C=EU, L=Madrid (see current address at www.camerfirma.com/address)/serialNumber=A82743287, O=AC Camerfirma S.A., CN=Global Chambersign Root - 2008

Added    SHA1      : 03:9E:ED:B8:0B:E7:A0:3C:69:53:89:3B:20:D2:D9:32:3A:4C:2A:FD
         Subject   : C=US, O=GeoTrust Inc., OU=(c) 2008 GeoTrust Inc. - For authorized use only, CN=GeoTrust Primary Certification Authority - G3

Added    SHA1      : 59:AF:82:79:91:86:C7:B4:75:07:CB:CF:03:57:46:EB:04:DD:B7:16
         Subject   : C=NL, O=Staat der Nederlanden, CN=Staat der Nederlanden Root CA - G2

Added    SHA1      : DD:E1:D2:A9:01:80:2E:1D:87:5E:84:B3:80:7E:4B:B1:FD:99:41:34
         Subject   : C=TR, O=Elektronik Bilgi Guvenligi A.S., CN=e-Guven Kok Elektronik Sertifika Hizmet Saglayicisi

Added    SHA1      : F1:8B:53:8D:1B:E9:03:B6:A6:F0:56:43:5B:17:15:89:CA:F3:6B:F2
         Subject   : C=US, O=thawte, Inc., OU=Certification Services Division, OU=(c) 2008 thawte, Inc. - For authorized use only, CN=thawte Primary Root CA - G3

Added    SHA1      : AE:C5:FB:3F:C8:E1:BF:C4:E5:4F:03:07:5A:9A:E8:00:B7:F7:B6:FA
         Subject   : C=ES, CN=Autoridad de Certificacion Firmaprofesional CIF A62634068

Added    SHA1      : E0:B4:32:2E:B2:F6:A5:68:B6:54:53:84:48:18:4A:50:36:87:43:84
         Subject   : CN=ACEDICOM Root, OU=PKI, O=EDICOM, C=ES

Added    SHA1      : FA:B7:EE:36:97:26:62:FB:2D:B0:2A:F6:BF:03:FD:E8:7C:4B:2F:9B
         Subject   : C=RO, O=certSIGN, OU=certSIGN ROOT CA

Added    SHA1      : 67:65:0D:F1:7E:8E:7E:5B:82:40:A4:F4:56:4B:CF:E2:3D:69:C6:F0
         Subject   : C=TW, O=Chunghwa Telecom Co., Ltd., OU=ePKI Root Certification Authority

Added    SHA1      : 89:DF:74:FE:5C:F4:0F:4A:80:F9:E3:37:7D:54:DA:91:E1:01:31:8E
         Subject   : C=HU, L=Budapest, O=Microsec Ltd., CN=Microsec e-Szigno Root CA 2009/emailAddress=info@e-szigno.hu

Added    SHA1      : 06:08:3F:59:3F:15:A1:04:A0:69:A4:6B:A9:03:D0:06:B7:97:09:91
         Subject   : C=HU, L=Budapest, O=NetLock Kft., OU=Tan\xC3\xBAs\xC3\xADtv\xC3\xA1nykiad\xC3\xB3k (Certification Services), CN=NetLock Arany (Class Gold) F\xC5\x91tan\xC3\xBAs\xC3\xADtv\xC3\xA1ny

Added    SHA1      : D6:DA:A8:20:8D:09:D2:15:4D:24:B5:2F:CB:34:6E:B2:58:B2:8A:58
         Subject   : C=HK, O=Hongkong Post, CN=Hongkong Post Root CA 1

Added    SHA1      : 61:57:3A:11:DF:0E:D8:7E:D5:92:65:22:EA:D0:56:D7:44:B3:23:71
         Subject   : C=NO, O=Buypass AS-983163327, CN=Buypass Class 3 CA 1

Added    SHA1      : 40:9D:4B:D9:17:B5:5C:27:B6:9B:64:CB:98:22:44:0D:CD:09:B8:89
         Subject   : emailAddress=pki@sk.ee, C=EE, O=AS Sertifitseerimiskeskus, CN=Juur-SK

Added    SHA1      : 3B:C4:9F:48:F8:F3:73:A0:9C:1E:BD:F8:5B:B1:C3:65:C7:D8:11:B3
         Subject   : C=JP, O=Japan Certification Services, Inc., CN=SecureSign RootCA11

Added    SHA1      : 7F:8A:B0:CF:D0:51:87:6A:66:F3:36:0F:47:C8:8D:8C:D3:35:FC:74
         Subject   : C=JP, O=Japanese Government, OU=ApplicationCA

Added    SHA1      : 36:79:CA:35:66:87:72:30:4D:30:A5:FB:87:3B:0F:A7:7B:B7:0D:54
         Subject   : C=US, O=VeriSign, Inc., OU=VeriSign Trust Network, OU=(c) 2008 VeriSign, Inc. - For authorized use only, CN=VeriSign Universal Root Certification Authority

Added    SHA1      : 8B:AF:4C:9B:1D:F0:2A:92:F7:DA:12:8E:B9:1B:AC:F4:98:60:4B:6F
         Subject   : C=CN, O=CNNIC, CN=CNNIC ROOT

Added    SHA1      : 8C:96:BA:EB:DD:2B:07:07:48:EE:30:32:66:A0:F3:98:6E:7C:AE:58
         Subject   : CN=EBG Elektronik Sertifika Hizmet Sa\xC4\x9Flay\xC4\xB1c\xC4\xB1s\xC4\xB1, O=EBG Bili\xC5\x9Fim Teknolojileri ve Hizmetleri A.\xC5\x9E., C=TR

Added    SHA1      : 2A:C8:D5:8B:57:CE:BF:2F:49:AF:F2:FC:76:8F:51:14:62:90:7A:41
         Subject   : C=SK, L=Bratislava, O=Disig a.s., CN=CA Disig

Added    SHA1      : 1B:4B:39:61:26:27:6B:64:91:A2:68:6D:D7:02:43:21:2D:1F:1D:96
         Subject   : C=TR, L=Gebze - Kocaeli, O=T\xC3\xBCrkiye Bilimsel ve Teknolojik Ara\xC5\x9Ft\xC4\xB1rma Kurumu - T\xC3\x9CB\xC4\xB0TAK, OU=Ulusal Elektronik ve Kriptoloji Ara\xC5\x9Ft\xC4\xB1rma Enstit\xC3\xBCs\xC3\xBC - UEKAE, OU=Kamu Sertifikasyon Merkezi, CN=T\xC3\x9CB\xC4\xB0TAK UEKAE K\xC3\xB6k Sertifika Hizmet Sa\xC4\x9Flay\xC4\xB1c\xC4\xB1s\xC4\xB1 - S\xC3\xBCr\xC3\xBCm 3

Added    SHA1      : 78:6A:74:AC:76:AB:14:7F:9C:6A:30:50:BA:9E:A8:7E:FE:9A:CE:3C
         Subject   : C=EU, L=Madrid (see current address at www.camerfirma.com/address)/serialNumber=A82743287, O=AC Camerfirma S.A., CN=Chambers of Commerce Root - 2008

Added    SHA1      : A0:A1:AB:90:C9:FC:84:7B:3B:12:61:E8:97:7D:5F:D3:22:61:D3:CC
         Subject   : C=NO, O=Buypass AS-983163327, CN=Buypass Class 2 CA 1

Added    SHA1      : F9:B5:B6:32:45:5F:9C:BE:EC:57:5F:80:DC:E9:6E:2C:C7:B2:78:B7
         Subject   : C=US, O=AffirmTrust, CN=AffirmTrust Commercial

Added    SHA1      : 29:36:21:02:8B:20:ED:02:F5:66:C5:32:D1:D6:ED:90:9F:45:00:2F
         Subject   : C=US, O=AffirmTrust, CN=AffirmTrust Networking

Added    SHA1      : D8:A6:33:2C:E0:03:6F:B1:85:F6:63:4F:7D:6A:06:65:26:32:28:27
         Subject   : C=US, O=AffirmTrust, CN=AffirmTrust Premium

Bug: 3469985
Change-Id: I963e790cbc042bb19a2ef41858526e823cd6b0ba
]]>
aa2be6: SSLSocket.close() should not throw an IOException if ther... https://zh.osdn.net/projects/android-x86/scm/git/libcore/commits/aa2be6b82cdf3bb292076d2a614a5f5b40e63123 Brian Carlstrom Commit: aa2be6b82cdf3bb292076d2a614a5f5b40e63123
SSLSocket.close() should not throw an IOException if there is a problem sending a close notify

Bug: 3405962
Bug: 3350645
git cherry-pick -e 1c64b3adb85345659ac60ad82216268acba18764
]]>
fd5190: Merge from open-source gingerbread Change-Id: Ic1a1a046e... https://zh.osdn.net/projects/android-x86/scm/git/libcore/commits/fd5190acf9cae424c859aed5bf64e31ea7117903 Jean-Baptiste Queru Commit: fd5190acf9cae424c859aed5bf64e31ea7117903
Merge from open-source gingerbread

Change-Id: Ic1a1a046e6fa359fe29f4cee71a8591aad43988d
]]>
289183: Merge from open-source gingerbread Change-Id: I629fb99e0... https://zh.osdn.net/projects/android-x86/scm/git/libcore/commits/2891830214ffd8c334d4f396ffca84c10625af6f Jean-Baptiste Queru Commit: 2891830214ffd8c334d4f396ffca84c10625af6f
Merge from open-source gingerbread

Change-Id: I629fb99e0ed1d8e39892543792830b2c4b57ae1f
]]>
a49d9c: Clean up/out some comments. Change-Id: I8f251d2b1d7e2b54... https://zh.osdn.net/projects/android-x86/scm/git/libcore/commits/a49d9caee4cd74c0d2cf83d79b8ecdc00453dff8 Dan Bornstein Commit: a49d9caee4cd74c0d2cf83d79b8ecdc00453dff8
Clean up/out some comments.

Change-Id: I8f251d2b1d7e2b5454c0702ae5cd836ca5507106
]]>
a13e4f: Remove pointless tests. Change-Id: I17ffa62ca632ff1cbcdd... https://zh.osdn.net/projects/android-x86/scm/git/libcore/commits/a13e4f2c06c4673a1d6fe52409432ccc576c2fe3 Dan Bornstein Commit: a13e4f2c06c4673a1d6fe52409432ccc576c2fe3
Remove pointless tests.

Change-Id: I17ffa62ca632ff1cbcdd0847c97ce539877e8667
]]>
1d1149: Merge from open-source gingerbread Change-Id: I08acbd005... https://zh.osdn.net/projects/android-x86/scm/git/libcore/commits/1d11491d3355073f3ba5d55142c43119493ef6df Jean-Baptiste Queru Commit: 1d11491d3355073f3ba5d55142c43119493ef6df
Merge from open-source gingerbread

Change-Id: I08acbd0053308fc4d3452b039532f49e138a1529
]]>
8b0eea: Merge "Address CTS test failures in libcore for gingerbre... https://zh.osdn.net/projects/android-x86/scm/git/libcore/commits/8b0eea338658960d444cba806796602cb2561bff Jean-Baptiste Queru Commit: 8b0eea338658960d444cba806796602cb2561bff
Merge "Address CTS test failures in libcore for gingerbread." into gingerbread
]]>
9f1999: Clean up/out some comments. Change-Id: I8f251d2b1d7e2b54... https://zh.osdn.net/projects/android-x86/scm/git/libcore/commits/9f1999c48a44183ec53a629ca5e0122d64fd2a47 Dan Bornstein Commit: 9f1999c48a44183ec53a629ca5e0122d64fd2a47
Clean up/out some comments.

Change-Id: I8f251d2b1d7e2b5454c0702ae5cd836ca5507106
]]>
6241c0: Remove pointless tests. Change-Id: I17ffa62ca632ff1cbcdd... https://zh.osdn.net/projects/android-x86/scm/git/libcore/commits/6241c067e065065098eb50a7aef35a58f78447a6 Dan Bornstein Commit: 6241c067e065065098eb50a7aef35a58f78447a6
Remove pointless tests.

Change-Id: I17ffa62ca632ff1cbcdd0847c97ce539877e8667
]]>
30ae87: Fix Double.toString. I accidentally changed unsigned div... https://zh.osdn.net/projects/android-x86/scm/git/libcore/commits/30ae871abe462723f78b2981178a9d5a73f5e129 Elliott Hughes Commit: 30ae871abe462723f78b2981178a9d5a73f5e129
Fix Double.toString.

I accidentally changed unsigned division to signed division here in gingerbread.

Bug: 3238333
Change-Id: I72cb80adbfc12082a222310929c90f8740b568da
]]>
6e35a8: Merge "Fix @see links" into gingerbread https://zh.osdn.net/projects/android-x86/scm/git/libcore/commits/6e35a8607a94411fa1b9c92d2b5a5db40a49895b Brad Fitzpatrick Commit: 6e35a8607a94411fa1b9c92d2b5a5db40a49895b
Merge "Fix @see links" into gingerbread
]]>
cd12eb: Merge "Export the assignable instance counting." into gin... https://zh.osdn.net/projects/android-x86/scm/git/libcore/commits/cd12eb57487d8c02dc7ed85581c6ee5e71acfa2f Carl Shapiro Commit: cd12eb57487d8c02dc7ed85581c6ee5e71acfa2f
Merge "Export the assignable instance counting." into gingerbread
]]>
81f944: Address CTS test failures in libcore for gingerbread. Ch... https://zh.osdn.net/projects/android-x86/scm/git/libcore/commits/81f94491896c700abad0a9687c433fb731f2479e Jesse Wilson Commit: 81f94491896c700abad0a9687c433fb731f2479e
Address CTS test failures in libcore for gingerbread.

Change-Id: I6c9ec10a8b37170173eb19be928f19119aef997c
]]>
102b7b: Merge "TARGET_PRELINK_MODULE should not be modified in mo... https://zh.osdn.net/projects/android-x86/scm/git/libcore/commits/102b7bc9eba929d763c60c5c7467d2f9a529bf66 Ying Wang Commit: 102b7bc9eba929d763c60c5c7467d2f9a529bf66
Merge "TARGET_PRELINK_MODULE should not be modified in module's definition" into gingerbread
]]>
1c7691: Fix libcore javadoc errors. Random's javadoc was pretty ... https://zh.osdn.net/projects/android-x86/scm/git/libcore/commits/1c76910f0a0fb0cb761a4505f3be1204d6be012b Elliott Hughes Commit: 1c76910f0a0fb0cb761a4505f3be1204d6be012b
Fix libcore javadoc errors.

Random's javadoc was pretty random, and Pattern was missing some escaping
in code samples.

Also work round droiddoc bugs that were messing up Formatter and classes
that inherited documentation from Object.

Bug: http://code.google.com/p/android/issues/detail?id=13264
Bug: 3318601
Change-Id: Iddb0c807398840191ee003bc1644d611aef4d61d
]]>
90aec9: Fix @see links Change-Id: I432c3e402ff6a97651959891a8581... https://zh.osdn.net/projects/android-x86/scm/git/libcore/commits/90aec9a1985a9c40e5e59bebbc22b574fbbf1e4a Brad Fitzpatrick Commit: 90aec9a1985a9c40e5e59bebbc22b574fbbf1e4a
Fix @see links

Change-Id: I432c3e402ff6a97651959891a8581be229c4b958
]]>
a46e08: Export the assignable instance counting. https://zh.osdn.net/projects/android-x86/scm/git/libcore/commits/a46e08d56443b83cad81a2723c27af4eff0ca019 Carl Shapiro Commit: a46e08d56443b83cad81a2723c27af4eff0ca019
Export the assignable instance counting.
]]>
97ba1f: TARGET_PRELINK_MODULE should not be modified in module's ... https://zh.osdn.net/projects/android-x86/scm/git/libcore/commits/97ba1ff9369e4bab7e6fdfd0c286f52c7a7d5ecc Ying Wang Commit: 97ba1ff9369e4bab7e6fdfd0c286f52c7a7d5ecc
TARGET_PRELINK_MODULE should not be modified in module's definition

We should use LOCAL_PRELINK_MODULE instead.

Change-Id: I0a3056e839da5b2373e2fac89d69b1b9e9b0c853
]]>