1668 Commits

Author SHA1 Message Date
Abhijit Saha
fe88c65a29 Merge 2010-07-01 08:31:39 -07: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
Weijun Wang
0b40058267 6958060: Malformed AP-REQ crashes acceptor side
Reviewed-by: valeriep, xuelei
2010-06-17 12:59:21 +08:00
Weijun Wang
c218e4488e 6957564: Disclosure of DNS server IP address
Reviewed-by: xuelei, chegar
2010-06-17 12:59:14 +08:00
Lana Steuck
ce4febb72c Merge 2010-06-16 14:07:47 -07:00
Kumar Srinivasan
fad23a5a1f 6575373: Error verifying signatures of pack200 files in some cases
Reviewed-by: jrose, forax
2010-06-16 12:36:49 -07:00
Mandy Chung
1696f0a3a6 6952161: Rebranding: Registration html for servicetag
Rebrand register.html and jdk_header.png

Reviewed-by: ohair, asaha, ogino, mfang
2010-06-15 09:49:31 -07:00
Abhijit Saha
cd7e00cd53 Merge 2010-06-13 07:40:36 -07:00
Xue-Lei Andrew Fan
53a219bfee 6914943: Implement final TLS renegotiation fix
RFC 5746 implementation

Reviewed-by: wetmore, weijun
2010-06-12 00:42:51 -07:00
Martin Buchholz
45b78120fc 6944584: Improvements to subprocess handling on Unix
Use thread pool for reaper thread; move most I/O operations out of reaper thread

Reviewed-by: michaelm, hiroshi
2010-06-11 18:55:45 -07:00
Andrew John Hughes
5b0c4babe6 6959197: When building with JAVAC_MAX_WARNINGS=true, the build fails in sun/nio/cs due to the use of -Werror
Remove unneeded casts, add generic types and make better use of static data

Reviewed-by: sherman
2010-06-12 01:32:43 +01:00
Alan Bateman
356e978bce 6938230: (so) SocketAdaptor.close() does not translate IOException resulting in Error
Reviewed-by: chegar
2010-06-11 14:47:22 +01:00
Weijun Wang
b0277a9631 6958869: regression: PKIXValidator fails when multiple trust anchors have same dn
Reviewed-by: xuelei, wetmore, mullan
2010-06-11 11:38:36 +08:00
Martin Buchholz
d6dea71e06 6959259: Minor improvements to static Random field caching
Cache fields in locals; small javadoc clarifications

Reviewed-by: emcmanus, dholmes, forax, dl
2010-06-10 15:55:26 -07:00
Martin Buchholz
e267adc80a 6960394: Stop linking with -lnsl on Linux
Define LIBNSL (like LIBSOCKET), non-empty only on Solaris

Reviewed-by: ohair
2010-06-10 15:54:25 -07:00
Mandy Chung
22ac1684a0 6959965: jstat: Add new -classload option to print class loading statistics
Add a new jstat -classload option

Reviewed-by: alanb
2010-06-10 14:14:17 -07:00
John R Rose
4df63bafc0 6939203: JSR 292 needs method handle constants
Add new CP types CONSTANT_MethodHandle, CONSTANT_MethodType to verifier; put in runtime support upcall.

Reviewed-by: twisti
2010-06-08 23:08:56 -07:00
Joe Darcy
bc95863f7d 6935997: Please add a nested throwable constructor to AssertionError
Reviewed-by: martin, forax, wetmore
2010-06-08 18:52:17 -07:00