595 Commits

Author SHA1 Message Date
Xueming Shen
952857e682 6350801: Add support for named (instead of numbered) capture groups in regular expression
6676425: Opensource unit/regression tests for java.util.regex

Added "named capturing group" into regex. Moved most of reg/unit tests to openjdk.

Reviewed-by: alanb, okutsu
2009-02-23 21:06:15 -08:00
Chris Hegarty
5efe4b020a 6806649: synchronization bottleneck when constructing Thread subclasses
Replace subclass audits synchronization with ConcurrentHashMap with weakly referenced Class keys

Reviewed-by: peterjones, dholmes, martin
2009-02-23 10:36:19 +00:00
Xue-Lei Andrew Fan
d1f800c577 5067458: Loopback SSLSocketImpl createSocket is throwing an exception
A null hostname should be regarded as a loopback address.

Reviewed-by: weijun
2009-02-23 17:32:52 +08:00
Weijun Wang
3a37d195f3 6780416: New keytool commands/options: -gencert, -printcertreq, -ext
Reviewed-by: xuelei, mullan
2009-02-23 10:05:55 +08:00
Weijun Wang
500caf95bd 6803376: BasicConstraintsExtension does not encode when (ca==false && pathLen<0)
Reviewed-by: xuelei
2009-02-23 10:05:41 +08:00
Weijun Wang
9081658837 6804045: DerValue does not accept empty OCTET STRING
Reviewed-by: xuelei
2009-02-23 10:04:52 +08:00
Weijun Wang
967dd884ac 6789935: cross-realm capath search error
Reviewed-by: xuelei
2009-02-23 10:04:25 +08:00
Weijun Wang
7465090acf 6535697: keytool can be more flexible on format of PEM-encoded X.509 certificates
Reviewed-by: vinnie
2009-02-23 10:03:36 +08:00
Tim Bell
a58639094e Merge 2009-02-20 10:53:39 -08:00
Xue-Lei Andrew Fan
f202d9a6e1 6697270: Inputstream dosent behave correct
Do not try to read zero byte from a InputStream, and do always return immediately for zero byte reading in a InputStream implementation.

Reviewed-by: weijun
2009-02-20 13:05:28 +08:00
Xue-Lei Andrew Fan
15891a2f7f 4918870: Examine session cache implementation (sun.misc.Cache)
Replace sun.misc.Cache with sun.security.util.Cache

Reviewed-by: weijun
2009-02-20 12:50:02 +08:00
Tim Bell
354897da83 Merge 2009-02-19 18:04:30 -08:00
Lana Steuck
0b8159d689 Merge 2009-02-18 10:05:41 -08:00
Alan Bateman
030a13d8fe 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
4313887: New I/O: Improved filesystem interface
4607272: New I/O: Support asynchronous I/O

Reviewed-by: sherman, chegar
2009-02-15 12:25:54 +00:00
Lana Steuck
f9c7b83d22 Merge 2009-02-10 12:26:12 -08:00
Tim Bell
04d96f9698 Merge 2009-02-05 09:28:04 -08:00
Tim Bell
354177b550 Merge 2009-02-05 09:24:45 -08:00
Jean-Christophe Collet
b17d12c83d 6585546: Please update API doc for java.net.CookieManager
Trivial doc updates

Reviewed-by: chegar
2009-02-04 14:15:13 +01:00
Anthony Petrov
13c271c69b 6797195: Forward-port enhancements for hw/lw mixing from 6u12 to 7
Reviewed-by: art, dcherepanov
2009-02-04 11:58:13 +03:00
Lana Steuck
c88ad511d0 Merge 2009-02-03 22:02:55 -08:00
Joe Darcy
6a6fc9ad3f 6548433: (enum spec) java.lang.Enum docs should explain about values() and valueOf(String)
Reviewed-by: martin
2009-02-03 16:29:32 -08:00
Weijun Wang
17e0db945f 6785456: Read Kerberos setting from Windows environment variables
Reviewed-by: valeriep
2009-02-03 09:38:31 +08:00
Weijun Wang
e7c217c72d 6552334: Enable DNS in Kerberos by default
Reviewed-by: valeriep
2009-02-03 09:38:13 +08:00
Jean-Christophe Collet
57a4df4e50 6791927: Wrong Locale in HttpCookie::expiryDate2DeltaSeconds
Force Locale.US when parsing the cookie expiration date.

Reviewed-by: chegar
2009-02-02 16:50:54 +01:00
Joe Darcy
82b15672f3 6799462: Minor typo (wrong word) in JavaDoc for InputStream.read(byte[] b) method
Reviewed-by: sherman, martin
2009-01-30 15:09:00 -08:00
Michael McMahon
aad69adc7b Merge 2009-01-30 22:27:02 +00:00
Michael McMahon
71dfa4d2db 4167874: URL-downloaded jar files can consume all available file descriptors
Added close method to URLClassLoader

Reviewed-by: alanb
2009-01-30 22:05:30 +00:00
Joe Darcy
2b84dc567f 6799343: (fmt) java.util.Formatter uses plainlink instead of linkplain
Reviewed-by: alanb
2009-01-30 12:40:27 -08:00
Joe Darcy
0476ba59fb 6327048: Enum javadoc could link to JLS
6653154: Exception message for bad Enum.valueOf has spurious "class"

Reviewed-by: emcmanus
2009-01-29 13:04:44 -08:00
Lana Steuck
6701ca1be7 Merge 2009-01-29 09:25:47 -08:00
Joe Darcy
3f450f06e2 6239194: Object.hashCode() should reference System.identityHashCode()
Reviewed-by: emcmanus
2009-01-29 09:04:41 -08:00
Pavel Porvatov
798600a691 6794836: BasicSliderUI throws NullPointerExc when JSlider maximum is Integer.MAX_VALUE
Reviewed-by: peterz
2009-01-29 19:06:29 +03:00
Sergey Malenkov
d36d789593 6788531: java.beans.Statement imposes excessive access control
Reviewed-by: peterz, rupashka
2009-01-29 15:34:50 +03:00
Joe Darcy
2f243ad874 6719182: update legal notice in java/lang/instrument/package.html
Reviewed-by: jjh
2009-01-28 12:46:43 -08:00
Jeremy Manson
0c35627960 6797480: Remove synchronization bottleneck in logger
Reviewed-by: swamyv
2009-01-27 15:04:30 -08:00
Jean-Christophe Collet
285d905e09 6790677: java.net.HttpCookie.parse(String) should ignore unrecognized attributes, RFC2965
Changed code not to throw an exception on unknown attributes

Reviewed-by: chegar
2009-01-27 11:36:28 +01:00
Yuka Kamiya
02e741f275 6796489: (tz) Support tzdata2009a
Reviewed-by: okutsu
2009-01-26 09:19:59 +09:00
Tim Bell
337fe1437d Merge 2009-01-24 16:35:17 -08:00
Joe Darcy
e08feb9741 6604864: Double.valueOf(String) does not specify behaviour for overflow and underflow
Reviewed-by: emcmanus
2009-01-23 10:37:41 -08:00
Sergey Malenkov
606b473fb5 4222508: JColorChooser ignores setEnabled() function call
Reviewed-by: peterz, rupashka
2009-01-23 18:31:08 +03:00
Xueming Shen
a9c275ed18 6476425: (fmt)java.util.Formatter.print() throws IllegalArgumentException on large BigDecima
Correct the wrong calculation of "precision" in certain circumstances.

Reviewed-by: darcy, alanb
2009-01-22 20:29:54 -08:00
Naoto Sato
c0b51b7972 6627549: ISO 3166 code addition: Saint Barthelemy and Saint Martin
6786276: Locale.getISOCountries() still contains country code "CS"

Reviewed-by: okutsu
2009-01-21 13:58:46 -08:00
Peter Zhelezniakov
2d180da2de 6792401: Windows LAF: ActiveWindowsIcon should not be greedy with fallback icon
Fallback mechanism changed to use symbolic name instead of icon.

Reviewed-by: igor, rupashka
2009-01-21 21:30:59 +03:00
Mandy Chung
5335a75b1c Merge 2009-01-20 16:16:35 -08:00
Mandy Chung
4f3a9a4392 6769976: (fc) FileChannelImpl.isAMappedBufferField not used
Remove the FileChannelImpl.isAMappedBufferField field

Reviewed-by: alanb
2009-01-20 13:04:19 -08:00
Xiomara Jayasena
a2d4800aa0 Merge 2009-01-20 09:42:07 -08:00
Alex Menkov
e3d66c6414 6702956: OpenJDK: replace encumbered code (software synthesizer)
6717691: Update Gervill with post 1.0 fixes
6740210: Update Gervill with more post 1.0 fixes
6748247: Further update Gervill with still more post 1.0 fixes
6748251: Apply IcedTea midi sound patch
6758986: Gervill: Turn SoftJitterCorrector, SoftAudioPusher threads into a daemon threads

Reviewed-by: ohair, darcy
2009-01-19 20:11:58 +03:00
Weijun Wang
220ed00264 6793475: krb5.ini not found on some Windows
Reviewed-by: xuelei
2009-01-19 18:49:10 +08:00
Tim Bell
6a54f22ae0 6754862: jdk/src/windows/bin/java_md.c: hardcoded reference to msvcr71.dll
6779412: VS2008 errors compiling jdk sources

Update Makefiles to tolerate newer Visual Studio releases and runtimes.

Reviewed-by: ohair
2009-01-14 21:35:03 -08:00
Joe Darcy
640ed7d08b 6792545: Typo in java.util.Collection JavaDoc
6655123: Incorrect ref to The Art of Computer Programming in doc for java.util.Random

Fix a pair of typos.

Reviewed-by: jjg
2009-01-14 16:23:29 -08:00