632 Commits

Author SHA1 Message Date
Xueming Shen
df71af8d55 Merge 2009-03-23 09:34:11 -07:00
Xueming Shen
3f0b988cfc 6636323: Optimize handling of builtin charsets
6636319: Encoders should implement isLegalReplacement(byte[] repl)

Optimized new String(byte[], cs/csn) and String.getBytes(cs/csn) for speed and memory consumption in singlebyte case.

Reviewed-by: alanb
2009-03-23 09:19:23 -07:00
Weijun Wang
b1d6f69a58 6820606: keytool can generate serialno more randomly
Reviewed-by: xuelei
2009-03-23 17:05:48 +08:00
Xueming Shen
94bd6b212a Merge 2009-03-20 17:40:52 -07:00
Xueming Shen
df65a88edb 6817475: named-capturing group name started with digit causes PSE exception
Need accept the digit as the first char of the group name

Reviewed-by: alanb
2009-03-20 16:22:59 -07:00
Weijun Wang
827d425560 6819272: keytool -importcert should read the whole input
Reviewed-by: xuelei
2009-03-19 11:17:06 +08:00
Mandy Chung
e85a4d8536 6817246: Redundant call to set InetAddressCachePolicy to FOREVER if not set during initialization
Remove InetAddressCachePolicy.setIfNotSet call from System.setSecurityManager0

Reviewed-by: alanb, jccollet
2009-03-18 17:37:39 -07:00
Daniel Fuchs
a2e046f672 Merge 2009-03-18 18:55:10 +01:00
Tim Bell
a787d51eea 6814587: Legal notice repair needed in jdk/src/share/classes/java/nio
6814590: Legal notice repair needed in jdk/test/java/awt/Frame/FrameSize/TestFrameSize.java
6814591: Legal notice repair needed in jdk/test/javax/script/Test3.java

Reviewed-by: alanb, xdono
2009-03-17 13:20:56 -07:00
Xue-Lei Andrew Fan
6a44e920f6 6383095: CRL revoked certificate failures masked by OCSP failures
Remove the mask if certificate revoked

Reviewed-by: mullan
2009-03-17 11:54:13 +08:00
Tim Bell
2bd1e0578b Merge 2009-03-13 15:26:23 -07:00
Daniel Fuchs
aa0baf128e Merge 2009-03-13 14:25:48 +01:00
Xue-Lei Andrew Fan
95ef28ff0d 6798714: OCSPResponse class has to check the validity of signing certificate for OCSP response
Checking validity and ocsp-nocheck extension.

Reviewed-by: mullan, vinnie
2009-03-13 12:59:25 +08:00
Weijun Wang
78ae650f8f 6815182: GSSAPI/SPNEGO does not work with server using MIT Kerberos library
Reviewed-by: valeriep
2009-03-13 09:20:56 +08:00
Mandy Chung
2f06b83dfc 6813240: Remove dead code in sun.misc.FormattedFloatingDecimal class
Remove unused methods from FormattedFloatingDecimal that were originally copied from FloatingDecimal

Reviewed-by: darcy
2009-03-12 10:32:58 -07:00
Mandy Chung
0a64902056 6810254: Lazily instantiate the shared secret access objects
Register the shutdown hooks only when needed and remove JavaIODeleteOnExitAccess

Reviewed-by: alanb
2009-03-12 10:27:22 -07:00
Daniel Fuchs
e466180135 6661448: Make the SNMP agent optional when OPENJDK=true and IMPORT_BINARY_PLUGS=false
Reviewed-by: mchung, ohair
2009-03-12 15:36:14 +01:00
Tim Bell
79bc5884e7 Merge 2009-03-09 23:37:17 -07:00
Xiomara Jayasena
f038343dc2 6814575: Update copyright year
Update copyright for files that have been modified in 2009, up to 03/09

Reviewed-by: katleman, tbell, ohair
2009-03-09 13:29:01 -07:00
Sean Mullan
d541bcf943 6787130: java.policy file contains stale link to http://java.sun.com/notes
Reviewed-by: weijun
2009-03-09 09:46:43 -04:00
Valerie Peng
7f34411b42 Merge 2009-03-05 11:44:40 -08:00
Weijun Wang
5f12c03c56 6813402: keytool cannot -printcert entries without extensions
Reviewed-by: xuelei
2009-03-05 14:49:55 +08:00
Xueming Shen
a2b97ae3ec 6812879: Excess code line in ArrayList method
Removed the line of "oldData" which is no longer used.

Reviewed-by: martin
2009-03-04 09:26:41 -08:00
Chris Hegarty
bfa69d72f5 6737323: Typo in javadoc for SocketPermission
Remove redundant line form class description

Reviewed-by: jccollet
2009-03-04 13:36:33 +00:00
Chris Hegarty
9caca0a089 6775145: ClassLoaderUtil.releaseLoader calls System.out.println ("classLoader = " + classLoader)
Remove System.out debugging statements

Reviewed-by: michaelm
2009-03-04 13:28:16 +00:00
Weijun Wang
793a7d8187 6705872: SecureRandom number init is taking too long on a java.io.tmpdir with a large number of files
Reviewed-by: xuelei, alanb
2009-03-04 15:09:14 +08:00
Valerie Peng
ddd8b068ab 6812738: SSL stress test with GF leads to 32 bit max process size in less than 5 minutes with PCKS11 provider
Removed finalize() and add more error handling to native code

Reviewed-by: vinnie
2009-03-03 19:50:59 -08:00
Mandy Chung
37885fe5f8 6799230: Lazily load java.lang.annotation.Annotation class
Remove the static EMPTY_ANNOTATION_ARRAY field; add AnnotationParser.toArray method

Reviewed-by: darcy
2009-03-03 19:26:43 -08:00
Xue-Lei Andrew Fan
ff67e1ba9a 6549506: Specification of Permission.toString() method contradicts with JDK implementation
Update the spec, and add double quotes around component.

Reviewed-by: weijun
2009-03-02 23:17:53 +08:00
Mandy Chung
5f4195e462 6809504: Remove enctype="text/xml" from the offline registration page
Remove enctype="text/xml" from register.html and other localized versions

Reviewed-by: ksrini
2009-02-27 16:34:19 -08:00
Mandy Chung
3650c6531d 6799689: Make sun.misc.FloatingDecimal.hexFloatPattern static field initialized lazily
Lazily initialize the hexFloatPattern static field

Reviewed-by: darcy
2009-02-27 13:43:48 -08:00
Mandy Chung
4e657281da 6801467: Defer get the launcher resource bundle until it's needed
Lazily initialize the launcher resource bundle

Reviewed-by: ksrini, darcy
2009-02-26 14:36:51 -08:00
Doug Lea
ca6e1aecc3 6803402: Race condition in AbstractQueuedSynchronizer
Read fields in reverse initialization order

Reviewed-by: martin
2009-02-24 14:01:45 -08:00
Kevin Walls
ee5c2301ec 6599383: Unable to open zip files more than 2GB in size
Reviewed-by: alanb
2009-02-24 14:22:08 +00:00
Alan Bateman
4f2325cf75 Merge 2009-02-24 11:33:25 +00:00
Carl Quinn
16fbd2d7e5 6809132: (file) Javadoc style and consistency issues
Reviewed-by: vinnie
2009-02-24 11:31:04 +00:00
Alan Bateman
6d59271ca9 6808647: (file) Paths.get("C:").newDirectoryStream() iterates over Path elements with additional slash [win]
6808648: (file) Files.walkFileTree should obtain file attributes during iteration [win]

Reviewed-by: sherman
2009-02-24 09:11:42 +00:00
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