1684 Commits

Author SHA1 Message Date
Michael McMahon
b03b79abd0 6986400: Change Cookie to Cookie2 in 6980004 fix
Fix error in previous fix for 6980004

Reviewed-by: chegar
2010-09-23 03:22:13 -07:00
Michael McMahon
a5da7a1b31 6980004: limit HTTP request cookie headers in HttpURLConnection
6961084: limit setting of some request headers in HttpURLConnection

Reviewed-by: chegar
2010-09-16 09:22:51 -07:00
Michael McMahon
4dff2e9974 6981426: limit use of TRACE method in HttpURLConnection
Reviewed-by: chegar
2010-09-16 08:08:06 -07:00
Chris Hegarty
3072a8ef28 6974093: Thread.clone should NOT invoke addUnstarted on started threads
Reviewed-by: dholmes, coffeys
2010-08-11 09:32:38 +01:00
Michael McMahon
3dde10558a 6952017: HttpURLConnection chunked encoding issue (Http request splitting)
Reviewed-by: chegar
2010-07-22 17:26:33 +01:00
Michael McMahon
05153d7e82 6952603: NetworkInterface reveals local network address to untrusted code
Reviewed-by: chegar
2010-07-22 16:33:12 +01:00
Abhijit Saha
1e52a8c736 Merge 2010-07-16 09:26:55 -07:00
Joe Darcy
7dcb52915b 6963622: Project Coin: Refinements to suppressed exceptions
Reviewed-by: alanb, forax, jjb
2010-07-15 18:02:05 -07:00
Weijun Wang
c20e1ffd6c 6670889: Keystore created under Hindi Locale causing ArrayIndexOutOfBoundsException
Reviewed-by: chegar
2010-07-13 20:27:01 +08:00
Kumar Srinivasan
e5b31c9351 6921472: RFE: java launcher code needs clean up
This changeset also contains fixes for 6405284, 6753938 and 6922500

Reviewed-by: darcy
2010-07-09 11:04:34 -07:00
Chris Hegarty
6f0719f802 6966846: Incorrect assertion in java.net.Inet6Address.readObject
Reviewed-by: michaelm
2010-07-12 18:18:13 +01:00
Chris Hegarty
41fbcaf73d 6967684: httpserver using a non thread-safe SimpleDateFormat
Reviewed-by: michaelm
2010-07-12 18:16:35 +01:00
Jon VanAlten
95408ff1c7 6967533: Epoch bug: ExceptionInInitializerError on systems with uninitialized clock
Remove (hopefully!) unnecessary check of currentTimeMillis

Reviewed-by: dholmes
2010-07-09 18:55:25 -07:00
Abhijit Saha
8d4635befb Merge 2010-07-08 08:23:32 -07:00
Joe Darcy
5ab764cefb 6963723: Project Coin: Retrofit more JDK classes for ARM
Reviewed-by: alanb, malenkov, prr, amenkov
2010-07-06 18:58:30 -07:00
Abhijit Saha
fe88c65a29 Merge 2010-07-01 08:31:39 -07:00
Vladimir Yaroslavskiy
6593dfa333 6947216: Even more Dual-pivot quicksort improvements
Reviewed-by: jjb
2010-07-01 16:28:08 +01:00
Andrew Brygin
f34c8ae290 6963489: ZDI-CAN-803: Sun JRE ICC Profile Device Information Tag Remote Code Execution Vulnerability
Reviewed-by: prr
2010-07-01 12:04:14 +04:00
Ulf Zibis
c8a460e29d 6940258: (bf) Use intrinsified reverseBytes operation; elide no-op constructs
Reviewed-by: alanb, sherman
2010-06-30 16:11:32 -07:00
Based on an idea by Ulf Zibis
cd7e4c8c16 6935172: Optimize bit-twiddling in Bits.java
Transformations to reduce size of bytecode

Reviewed-by: sherman
2010-06-30 16:11:32 -07:00
Martin Buchholz
3cb2c5c25a 6934271: Better handling of longer utf-8 sequences
Various cleanups, including clever bit-twiddling

Reviewed-by: sherman
2010-06-30 16:11:32 -07:00
Ulf Zibis
ff895e1ca9 6933322: Add methods highSurrogate(), lowSurrogate() to class Character
Add public variants of methods Surrogate.high, Surrogate.low

Reviewed-by: okutsu, sherman
2010-06-30 16:11:32 -07:00
Ulf Zibis
aa6a17064b 6934270: Remove javac warnings from Character.java
Use generics and conform to coding style

Reviewed-by: sherman
2010-06-30 16:11:32 -07:00
Ulf Zibis
9c3e20af57 6963749: Minor improvements to Character.UnicodeBlock
Fix surrogate area docs; make source more readable

Reviewed-by: okutsu, sherman
2010-06-30 16:11:32 -07:00
Martin Buchholz
0af0decb66 6940381: Wording improvements for String.indexOf, String.lastIndexOf
Make wording of javadoc clearer and more consistent

Reviewed-by: sherman
2010-06-30 16:11:32 -07:00
Ulf Zibis
9c81e25271 6937112: String.lastIndexOf confused by unpaired trailing surrogate
Rewrite lastIndexOf for performance and correctness

Reviewed-by: sherman
2010-06-30 16:11:32 -07:00
Ulf Zibis
a0f3e72c24 6934265: Add public method Character.isBmpCodePoint
Move isBmpCodePoint from sun.nio.cs.Surrogate to Character

Reviewed-by: sherman
2010-06-30 16:11:32 -07:00
Ulf Zibis
30d5c660bc 6934268: Better implementation of Character.isValidCodePoint
Use the cleverest possible bit-twiddling micro-optimizations

Reviewed-by: sherman
2010-06-30 16:11:31 -07:00
Chris Hegarty
3eec4fa41e Merge 2010-06-30 16:24:37 +01:00
Chris Hegarty
0a47db80ed 6926623: Thread clone issues
Reviewed-by: hawtin
2010-06-30 16:08:47 +01:00
Andrew Brygin
76b5c4503b 6963023: ZDI-CAN-809: Sun JRE JPEGImageWriter.writeImage Remote Code Execution Vulnerability
Reviewed-by: prr
2010-06-30 11:32:38 +04:00
Lana Steuck
acc448eb85 Merge 2010-06-29 10:50:11 -07:00
Kumar Srinivasan
7511a7950b 6856415: Enabling java security manager will make programe thrown wrong exception ( main method not found )
Reviewed-by: darcy
2010-06-28 18:25:03 -07:00
Abhijit Saha
833dfdcbf2 Merge 2010-06-28 13:07:23 -07:00
Chris Hegarty
85a8187c52 6954525: Testcase failure java/net/Authenticator/B4769350.java
Reviewed-by: michaelm, weijun
2010-06-28 14:55:25 +01:00
Abhijit Saha
97d968d3ff Merge 2010-06-24 10:56:00 -07:00
Weijun Wang
c93ecb6623 6946669: SSL/Krb5 should not call EncryptedData.reset(data, false)
Reviewed-by: xuelei
2010-06-24 14:26:35 +08:00
Weijun Wang
6426b52076 6844907: krb5 etype order should be from strong to weak
Reviewed-by: valeriep
2010-06-24 14:26:28 +08:00
Weijun Wang
4bdcad4b69 6958026: Problem with PKCS12 keystore
Reviewed-by: mullan
2010-06-24 14:26:22 +08:00
Joshua Bloch
50f960454d 6911258: Project Coin: Add essential API support for Automatic Resource Management (ARM) blocks
6911261: Project Coin: Retrofit Automatic Resource Management (ARM) support onto platform APIs
6962571: Infinite loop in printing out Throwable stack traces with circular references

Reviewed-by: darcy, alanb
2010-06-23 17:03:40 -07:00
Jeremy Manson
9a0c9857b1 6942989: 2/2 Memory leak of java.lang.ref.WeakReference objects
Use ReferenceQueues to manage WeakReferences in LogManager and Logger.

Reviewed-by: dholmes, alanb, emcmanus, tonyp
2010-06-22 10:54:59 -07:00
Mandy Chung
239fc2abf7 6962815: support enable and disable of the servicetag's system registry for testing purpose
Allow the system registry to be disabled/enabled at runtime

Reviewed-by: ksrini
2010-06-21 15:02:47 -07:00
Pavel Porvatov
6b39e91deb 6938813: Swing mutable statics
Reviewed-by: peterz, alexp
2010-06-21 16:47:05 +04:00
Mandy Chung
4d0c91a7c9 6962478: Privacy page referenced in register_ja.html is incorrect
Fix the URL for the privacy page

Reviewed-by: ogino
2010-06-20 19:56:42 -07:00
Kumar Srinivasan
30c988b71e 6712743: pack200: should default to 150.7 pack format for classfiles without any classes
Reviewed-by: jrose
2010-06-19 17:42:39 -07:00
John R Rose
2fb4d43825 Merge 2010-06-19 01:14:40 -07:00
John R Rose
f3779adaed Merge 2010-06-18 15:23:57 -07:00
Alan Bateman
0b946fc36e 4981129: (dc) DatagramSocket created by DatagramChannel does not provide sender info
Reviewed-by: chegar
2010-06-18 16:16:51 +01:00
Andrew Brygin
16cf90d544 6925710: IndexColorModel.finalize can be made to double free
Reviewed-by: igor, prr, hawtin
2010-06-18 13:18:42 +04:00
Weijun Wang
5141220c5e 6959292: regression: cannot login if session key and preauth does not use the same etype
Reviewed-by: xuelei, valeriep
2010-06-17 13:46:15 +08:00