2178 Commits

Author SHA1 Message Date
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
Lana Steuck
9a4b556a63 Merge 2010-06-30 15:09:24 -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
67de841056 Merge 2010-06-29 22:34:59 -07:00
Lana Steuck
acc448eb85 Merge 2010-06-29 10:50:11 -07:00
Phil Race
93f31249a1 6943487: NPE in makeMultiCharsetString while printing on linux
Reviewed-by: igor, jgodinez
2010-06-29 09:48:15 -07:00
Alan Bateman
62b559b4e9 6213702: (so) non-blocking sockets with TCP urgent disabled get still selected for read ops (win)
Reviewed-by: michaelm, chegar
2010-06-29 17:11:12 +01:00
Jon VanAlten
a55533ffab 6963870: NPE in CompoundBorder.getInsets()
Reviewed-by: alexp
2010-06-29 14:42:30 +04: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
Yuri Nesterenko
83f31097a2 6957166: With XAWT, set arguments properly creating a MouseWheelEvent
Swap some parameters to allow bigger values for click count.

Reviewed-by: dav
2010-06-24 11:50:18 +04: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
Dmitry Samersoff
5cf9793864 6931566: NetworkInterface is not working when interface name is more than 15 characters long
Separate Linux and Solaris code, use lifreq under Solaris

Reviewed-by: chegar
2010-06-23 17:25:50 +04:00
Kelly O'Hair
9ff93a56c0 Merge 2010-06-22 19:18:06 -07:00
Kelly O'Hair
5fcb4ac25f 6939022: Source code adjustments for parfait compilation
Reviewed-by: jjg
2010-06-22 17:07:17 -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
Alexander Potochkin
38241ca3a4 6684401: JTree isExpanded should not call itself recursively
Reviewed-by: rupashka
2010-06-22 20:36:55 +04:00
Alexander Potochkin
3e7a0f0bfd 6777378: NullPointerException in XPDefaultRenderer.paint()
Reviewed-by: rupashka
2010-06-22 19:38:27 +04:00
Peter Zhelezniakov
c24951c366 6959260: javax/swing/JLabel/6501991/bug6501991.java failed on build 1.7.0-ea-b96
Reviewed-by: rupashka
2010-06-22 14:36:46 +04:00
Sergey Malenkov
3cd3bb0958 6707234: Method returned by Introspector.internalFindMethod not necessarily most specific
Reviewed-by: peterz
2010-06-22 12:06:33 +04:00
Lana Steuck
ac40d6f126 Merge 2010-06-21 22:08:10 -07:00
Lana Steuck
fa13ff6051 Merge 2010-06-21 22:06:28 -07:00
Lana Steuck
682a3fcf9b Merge 2010-06-21 22:05:11 -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
Phil Race
ee0a2ddfe6 6961633: gui applications cause a jvm crash on windows
Reviewed-by: ceisserer, bae
2010-06-18 11:00:14 -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
Anthony Petrov
c49c7ce7e8 6961754: JCK tests CvsEventTest0001 and CvsEventTest0002 fail under FF 3.5 on OEL 5
Check the return value of XlibUtil.translateCoordinates() for null

Reviewed-by: art, dcherepanov
2010-06-18 17:13:26 +04:00
Anthony Petrov
a0e99eb3e4 6959165: JVM crash during execution FileDialogBufferOverflowTest.html
Add proper synchronization

Reviewed-by: art, dcherepanov
2010-06-18 17:09:28 +04: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