1001 Commits

Author SHA1 Message Date
Jean-Christophe Collet
33dbe6a01d 6855297: Windows build breaks after 6811297
Re-introduced the mistakenly taken out authObj member

Reviewed-by: chegar
2009-06-26 16:50:58 +02:00
Lillian Angel
9feab8fb3a 6852607: MessageUtils JVM crash
Fixes crash by checking null field

Reviewed-by: alanb
2009-06-25 17:01:56 -04:00
Jean-Christophe Collet
1ece67558e 6811297: Add more logging to HTTP protocol handler
Added extra logging to HttpURLConnection and HttpClient. Added a capture tool.

Reviewed-by: chegar
2009-06-25 18:56:30 +02:00
Tim Bell
b9554f42b8 Merge 2009-06-23 22:07:58 -07:00
Jeremy Manson
7c01613569 6834805: Improve jar -C performance
Store "-C" directories in a HashSet, not List, to remove duplicates

Reviewed-by: sherman
2009-06-22 20:47:51 -07:00
Xueming Shen
3c65bb6343 6847092: (cs) CharsetEncoder.isLegalReplacement of US_ASCII behaves differently since
Updated the US_ASCII and ISO-8859-1 to fix the failure.

Reviewed-by: alanb, martin
2009-06-22 19:22:47 -07:00
Martin Buchholz
614cc9b007 6851653: (launcher) Make every java process 20 bytes smaller
Carefully keep track of every byte

Reviewed-by: ksrini, xlu
2009-06-22 16:41:27 -07:00
Martin Buchholz
356454363f 6853336: (process) disable or remove clone-exec feature (6850720)
Clone-exec feature (6850720) needs more work on 32-bit Linux

Reviewed-by: alanb, michaelm
2009-06-21 12:02:14 -07:00
Xiaobin Lu
c0146a5bd0 6850606: Regression from JDK 1.6.0_12
The returned result from multiply should be constructed by using valueOf to take care of the INFLATED case.

Reviewed-by: darcy
2009-06-20 13:34:06 -07:00
Xueming Shen
721a90bda5 6299219: euro sign failed to be printed in Console on Localized Windows platform with GBK encoding
4891024: EUC-KR and JOHAB converters need to be updated to include two new characters
4287467: Character converter generator tool

Migrated some of the doublebyte charsets to the new implementation.

Reviewed-by: okutsu
2009-06-19 14:39:06 -07:00
Jean-Christophe Collet
712e4baa4b 6852108: Remove Preferences dependance from SocksSocketImpl
Removed Preferences API use and fixed a few findbugs gotchas

Reviewed-by: alanb
2009-06-19 14:12:22 +02:00
Weijun Wang
1d5c589340 6851973: ignore incoming channel binding if acceptor does not set one
Reviewed-by: valeriep
2009-06-19 18:03:27 +08:00
Sean Mullan
1d306fbe9b Merge 2009-06-18 10:38:21 -04:00
Sean Mullan
5e6adf6d99 6833839: RFE: improve ManifestDigester by instantiating StringBuilder constructor w/ initial value
Reviewed-by: weijun
2009-06-18 09:04:20 -04:00
Weijun Wang
f5d1fbc0b4 6712755: jarsigner fails to sign itextasian.jar since 1.5.0_b14, it works with 1.5.0_13
Reviewed-by: mullan
2009-06-18 11:12:13 +08:00
Xue-Lei Andrew Fan
71306719d3 6850783: InvalidityDateExtension returns reference to internal mutable state
Return cloned instead of referenced object

Reviewed-by: weijun
2009-06-16 20:46:25 +08:00
Jeremy Manson
5bf951e2a6 6511515: poor performance of LogRecord.inferCaller depending on java.lang.Throwable.getStackTraceElement
Allow random access to stack trace elements; retrieve only needed ones

Reviewed-by: swamyv
2009-06-14 14:33:30 -07:00
Martin Buchholz
a5e977cf14 6850720: (process) Use clone(CLONE_VM), not fork, on Linux to avoid swap exhaustion
Use clone(CLONE_VM) on Linux; Reluctantly implement execvpe.

Reviewed-by: michaelm
2009-06-14 14:23:22 -07:00
Tim Bell
54e8ace85c Merge 2009-06-11 21:32:12 -07:00
Xue-Lei Andrew Fan
2f977c16d9 6570344: Invalid RSA OID in sun.security.x509.AlgorithmId
Change RSA OID to "2.5.8.1.1"

Reviewed-by: mullan
2009-06-12 09:00:38 +08:00
Sean Mullan
46c0719042 6845161: Bottleneck in Configuration.getConfiguration synchronized call
Reduce scope of synchronized block

Reviewed-by: weijun
2009-06-10 09:12:15 -07:00
Yuri Nesterenko
d094861eeb Merge 2009-06-09 23:47:38 -07:00
Weijun Wang
8a52d1a9d5 6578647: Undefined requesting URL in java.net.Authenticator.getPasswordAuthentication()
Reviewed-by: chegar, valeriep
2009-06-09 14:17:05 +08:00
Xue-Lei Andrew Fan
105735aeb6 6847459: Allow trust anchor self-issued intermediate version 1 and version 2 certificate
Reviewed-by: weijun
2009-06-04 11:28:03 +08:00
Yuri Nesterenko
86df48bb43 Merge 2009-06-01 01:06:28 -07:00
Yuri Nesterenko
5979ab9e03 Merge 2009-06-01 01:05:22 -07:00
Xueming Shen
01649412e3 6808625: Incomplete code sample in Deflater javadoc
Added compresser.end() into example

Reviewed-by: martin
2009-05-29 16:34:49 -07:00
Chris Hegarty
9641cb498c 6807602: Increase MAX_BUFFER_LEN and MAX_HEAP_BUFFER_LEN on 64-bit Solaris and Linux
Reviewed-by: alanb
2009-05-29 15:51:43 +01:00
Mandy Chung
e2f7248afb 6829636: test/java/util/logging/LoggingDeadlock2.java is flaky
Remove @ignore

Reviewed-by: swamyv
2009-05-26 17:47:57 -07:00
Jean-Christophe Collet
74bfe722ce 6726695: HttpURLConnection shoul support 'Expect: 100-contimue' headers for PUT
Added code triggered when 'Expect: 100-continue' header has been added

Reviewed-by: chegar
2009-05-26 16:03:51 +02:00
Xue-Lei Andrew Fan
93614a3c7d 6720721: CRL check with circular depency support needed
Checking AKID of certificates and CRLs

Reviewed-by: mullan, weijun
2009-05-26 16:43:22 +08:00
Xue-Lei Andrew Fan
5f228867b6 6822460: support self-issued certificate
Checking self-issued certificate during certification path building

Reviewed-by: mullan, weijun
2009-05-26 16:19:18 +08:00
Weijun Wang
9823ad0eae 6844887: NPE in TextCallbackHandler
Reviewed-by: xuelei
2009-05-26 10:12:22 +08:00
Jean-Christophe Collet
97c0be0045 6349566: java.net.CookieManager doesn't set default domain
Enforce default domain in CookieManager

Reviewed-by: michaelm
2009-05-25 22:27:26 +02:00
Andrei Dmitriev
fb9bba27b9 6844750: Solaris build failed after 6799099
Reviewed-by: yan
2009-05-25 18:22:23 +04:00
Xiaobin Lu
9f9d70b270 6622432: RFE: Performance improvements to java.math.BigDecimal
Reviewed-by: darcy
2009-05-24 16:29:57 -07:00
Andrei Dmitriev
072ba357bf 6799099: All automatic regression tests that create Robot fail on X11
Reviewed-by: art, ant
2009-05-22 16:09:45 +04:00
Xueming Shen
f625a6d545 6843578: Re-implement IBM doublebyte charsets
6639450: IBM949C encoder modifies state of IBM949 encoder
6569191: Cp943 io converter returns U+0000 and U+FFFD for unconvertable character
6577466: Character encoder IBM970 throws a BufferOverflowException
5065777: CharsetEncoder canEncode() methods often incorrectly return false

Re-write 11 IBM doublebyte charsets. Thanks Ulf.Zibis for the codereview!

Reviewed-by: martin
2009-05-21 23:32:46 -07:00
Andrew Haley
dfe2bac1c2 6839133: lcms 1.18 update breaks ICC_ProfileRGB Tests
Reviewed-by: avu, prr
2009-05-21 18:41:50 +01:00
Anton Tarasov
b02a9e2e05 6833019: KeyboardFocusManager.getCurrentKeyboardFocusManager() throws unspecified HeadlessException
Reviewed-by: art
2009-05-21 15:04:23 +04:00
Artem Ananiev
55c50f50d0 6794764: Translucent windows are completely repainted on every paint event, on Windows
6719382: Printing of AWT components on windows is not working
6726866: Repainting artifacts when resizing or dragging JInternalFrames in non-opaque toplevel
6683775: Painting artifacts is seen when panel is made setOpaque(false) for a translucent window

Reviewed-by: anthony, tdv, alexp
2009-05-21 12:29:25 +04:00
Weijun Wang
0263c2809b 6832353: Krb5LoginModule: use the KRB5CCNAME when searching for Kerberos ticket cache
Reviewed-by: xuelei
2009-05-20 10:12:37 +08:00
Weijun Wang
04e56f7701 6682516: SPNEGO_HTTP_AUTH/WWW_KRB and SPNEGO_HTTP_AUTH/WWW_SPNEGO failed on all non-windows platforms
Reviewed-by: xuelei
2009-05-20 10:12:00 +08:00
Christian Thalinger
2005a31e5d 6832016: {DigestMD5Base,Des3DkCrypto}.setParityBit should use Integer.bitCount
Reviewed-by: weijun
2009-05-20 10:11:23 +08:00
Xueming Shen
c27639c4d2 6728376: Wrong error handling in Java_java_util_zip_Deflater_deflateBytes leads to size 0 if compress fails
6735255: ZipFile.close() does not close ZipFileInputStreams, contrary to the API document

Throws OOM when malloc failed. Closes all outstanding streams when closing

Reviewed-by: alanb
2009-05-19 16:21:48 -07:00
Xueming Shen
a1958b22ef 6831794: charset EUC_TW is 12.6% of the total size of charsets.jar
6229811: Several codepoints in EUC_TW failed in roundtrip conversion

Re-write EUC_TW charset to address the size and roundtrip issue.

Reviewed-by: alanb
2009-05-19 15:25:29 -07:00
Anthony Petrov
c403935e34 6839999: Cumulative fix for 6762511 and 6838003
Adds support for ARGB and ABGR X11 surfaces.

Reviewed-by: art, yan
2009-05-19 17:03:13 +04:00
Anthony Petrov
7648a0d70b 6812298: Dynamic GraphicsConfig changes don't work on X11 platforms
The peer gets recreated if the visual of the new GC differs from the previous one

Reviewed-by: art, dcherepanov
2009-05-19 14:14:31 +04:00
Anthony Petrov
41def7835d 6811219: Deadlock java AWT in XWarningWindow
The locking scheme has been re-architected, the code slightly refactored.

Reviewed-by: art, dcherepanov
2009-05-19 12:15:18 +04:00
Yuri Nesterenko
db67339fc1 6834525: PIT: RowToleranceTransitivityTest test fail with crash on rhel4 x86 and rhel 5x86
Do not try to use released XKB resources

Reviewed-by: art
2009-05-18 12:39:58 +04:00